Dynamically built links for stac-fast-api-pgstac behind proxy are wrong #781
-
Dears, I got stac-fast-api application deployed behind a Spring cloud application that add an authorization layer on top of it.
where XXX is my domain name. In order to fix it, I'm trying to understand how the application builds those urls to inspect the right pieces of data that cause the issue. FB |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
@brunifrancesco it would help if you shared which backend you're using and also the version of the modules looking at stac-fastapi only the links are dynamically created in stac-fastapi/stac_fastapi/types/stac_fastapi/types/links.py Lines 36 to 38 in 6d65525 and using base_url from stac-fastapi/stac_fastapi/types/stac_fastapi/types/requests.py Lines 6 to 12 in 6d65525 it all comes down to
Yeah it seems so |
Beta Was this translation helpful? Give feedback.
@brunifrancesco it would help if you shared which backend you're using and also the version of the modules
looking at stac-fastapi only the links are dynamically created in
stac-fastapi/stac_fastapi/types/stac_fastapi/types/links.py
Lines 36 to 38 in 6d65525
and using base_url from
stac-fastapi/stac_fastapi/types/stac_fastapi/types/requests.py
Lines 6 to 12 in 6d65525