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

If user declines social oauth, auth needs to logout #2

Open
alexcroox opened this issue Mar 8, 2022 · 1 comment
Open

If user declines social oauth, auth needs to logout #2

alexcroox opened this issue Mar 8, 2022 · 1 comment

Comments

@alexcroox
Copy link

  1. Click $auth.loginWithRedirect() button.
  2. Choose a Google social signup option.
  3. Click decline
  4. User is returned back to app but next time they click login button it brings the user back to the social request page.

I believe if the URL has ?error=access_denied params then a $auth.logout() call needs to happen to allow the user to choose a different login method on Auth0

@IlCallo
Copy link
Member

IlCallo commented Jun 14, 2022

Hey there, seems reasonable, are you interested into sending a PR to cover this scenario?

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

2 participants