Closed Bartket closed 3 years ago
I suppose you're using nginx as reverse proxy for fastapi. Describe the setup in more detail, and especially at which point exactly in the authentication process you get the error.
Sure,
The app is deployed on Amazon EKS as a single pod container. It uses an NGINX ingress controller.
As I typed this I think I know what is the issue. I used the wrong API Gateway service, so my app cannot communicate with "the outside world", and as a result - Auth0...
I will try this out next week I guess.
When I create the user for my FastAPI app via localhost the page redirects me to https://localhost/docs/oauth2-redirect#access_token={token}, and everything works well.
The issue is when I deploy my application on the server, then I get NGINX 404 error. I tried messing with application settings in auth0 but got no results, I am not exactly sure what is wrong here.
Any guidance or tips would be welcome.
PS. my application is using additional prefix path {service-template-python/} I am also using authentication within APIRouter