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

Signing out fails to end Auth0 session #2337

Open
reefdog opened this issue May 6, 2021 · 0 comments
Open

Signing out fails to end Auth0 session #2337

reefdog opened this issue May 6, 2021 · 0 comments

Comments

@reefdog
Copy link
Collaborator

reefdog commented May 6, 2021

Describe the bug
When you "sign out" from Streetmix, it does end your session at Streetmix. But it doesn't fully log you out from Auth0, which could be considered intended, except we throw this console error: XHR DELETE https://streetmix.net/api/v1/users/justin-1234/login-token [HTTP/2 400 Bad Request 96ms]

To Reproduce
Steps to reproduce the behavior:

  1. Got to streetmix.net
  2. Sign in (any method, but I tried Google and email)
  3. Make sure the console is open and preserving logs
  4. Sign out… which works, but…
  5. ❌ See console for the above error
  6. Try to sign in again using the same method as in №2 above
  7. What will likely happen is Auth0 signs you in straight away, since your token is still good there.

Again, arguably staying logged-in to Auth0 is by design, but the attempt at deleting the login token suggests otherwise.

Expected behavior
Signing out at Streetmix signs you out from your Auth0 auth as well, or, we otherwise resolve the console error.

Screenshots
logout

Desktop (please complete the following information):

  • OS: macOS 11.3.1
  • Browser: Firefox 88.0.1
@reefdog reefdog changed the title True logout (from Auth0) doesn't seem to work Signing out fails to end Auth0 session May 6, 2021
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