External URL? #1237
-
Hi all, Been working on moving some of our old apps from Flask to Starlite. I've run into the first issue I haven't been able to solve, and it's related to external URL management, specifically around generating the redirect URL for authlib. I've ported the Starlette plugin to work with Starlite, but can't get URL management sorted. With Flask, I can use With Starlite, even passing the "host" parameter to uvicorn, I'm probably missing something obvious but I've been reading docs for a good hour and haven't made any progress. Thanks in advance. EDIT: I should have RTFM'd more. Adding notes in case anyone else stumbles across this later. The issue was with my nginx configuration. I needed to add the proxy configuration as defined here: https://www.uvicorn.org/deployment/#running-behind-nginx That did the trick and I'm now able to fully authenticate via OIDC with authlib. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
was the answer here |
Beta Was this translation helpful? Give feedback.
was the answer here