Logto - <!--
For non-English users:
It's okay to post in your language, but remember to use English for the body (you can paste the result of Google Translate), and put everything else as attachments.
## The fix
If the Logto admin console logs you in fine but then shows 'Unauthorized. Please check credentials and its scope.' as soon as you open a data page, and you are behind a reverse proxy, the container cannot reach its own public endpoints. Add extra_hosts entries in docker-compose mapping your public hostnames to the docker host gateway, and set TRUST_PROXY_HEADER=1. Multiple users confirmed this resolved it.
Thread: gh:logto-io/logto#6048