Skip to content

Conversation

@pedrobtz
Copy link

@pedrobtz pedrobtz commented Dec 18, 2025

fixes #828

When oauth_flow_auth_code uses the default redirect URI from oauth_redirect_uri() (and it returns "http://localhost/"), the subsequent call to normalize_redirect_uri() adds a random port, creating a mismatch between the authorization and token requests.

possible solution: use redirect$uri in the second request as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

oauth2 code flow: Azure returns error AADSTS500112

1 participant