Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: authorization code error should be redirect #193

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

TLG-Gildas
Copy link

According to the specification, errors on the authorize endpoint should be transmitted to the client via a redirect in certain conditions:

https://datatracker.ietf.org/doc/html/rfc6749#section-4.1.2.1

If the resource owner denies the access request or if the request
fails for reasons other than a missing or invalid redirection URI,
the authorization server informs the client by adding the following
parameters to the query component of the redirection URI using the
"application/x-www-form-urlencoded" format

This is not the case currently.
This PR seeks to resolve this case.

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.

1 participant