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

UserDeniedPermissionException not thrown when a user denies access on google plus #83

Open
annorax opened this issue Jun 3, 2016 · 0 comments

Comments

@annorax
Copy link

annorax commented Jun 3, 2016

Instead, a SocialAuthException is thrown from OAuth2 with the error message Verification code is null.

It's important to note that Google's way of returning from an access-denied scenario is with a request parameter of error whose value is access_denied. The code request parameter isn't returned in this case, which trips the OAuth2 thrown exception.

Stack trace:

  - org.brickred.socialauth.oauthstrategy.OAuth2.verifyResponse(OAuth2.java:148)
  - org.brickred.socialauth.provider.GooglePlusImpl.doVerifyResponse(GooglePlusImpl.java:199)
  - org.brickred.socialauth.provider.GooglePlusImpl.verifyResponse(GooglePlusImpl.java:189)
  - org.brickred.socialauth.SocialAuthManager.connect(SocialAuthManager.java:184)
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