FastAPI RedirectResponse lost Authorization header when getting authorization code from the /authorize endpoint

Hi @miahuang! I see it under query string parameters instead - please see oauth 2.0 - OAuth2: query string vs. fragment - Stack Overflow. You can let the authorization server know to return the query response by setting response_mode=query in your /authorize request.

1 Like