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

Redirect URI Required not Optional #98

Open
vpfaulkner opened this issue Aug 3, 2016 · 0 comments
Open

Redirect URI Required not Optional #98

vpfaulkner opened this issue Aug 3, 2016 · 0 comments

Comments

@vpfaulkner
Copy link

I'm working with an OAuth2 integration that does not require a redirect_uri as part of the Authorization Request and, in fact, will 500 if a redirect_uri is given as part of the Access Token POST.

According to the OAuth 2.0 spec the redirect_uri is optional as part of the Authorization Request and only required for the Access Token request if it was given as part of the Authorization Request. While this integration's implementation seems to treat the redirect_uri as forbidden rather than optional, the OAuth2 Strategy likewise does not appear to treat the redirect_uri as optional either.

In order to get around this, I am having to overwrite the build_access_token method. However, it would be nice if the redirect_uri could be configured so as to be completely optional and therefore not be included in the Authorization Request or the Access Token request.

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

No branches or pull requests

1 participant