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

Auth0 can't sign out #8976

Closed
domlen2003 opened this issue Oct 27, 2023 · 1 comment
Closed

Auth0 can't sign out #8976

domlen2003 opened this issue Oct 27, 2023 · 1 comment
Labels
bug Something isn't working providers triage Unseen or unconfirmed by a maintainer yet. Provide extra information in the meantime.

Comments

@domlen2003
Copy link

Provider type

Auth0

Environment

System:

  • OS: macOS 14.0
  • CPU: (8) arm64 Apple M1
  • Memory: 78.97 MB / 8.00 GB
  • Shell: 5.9 - /bin/zsh

Binaries:

  • Node: 16.15.0
  • npm: 9.8.1

Browsers:

  • Chrome: 118.0.5993.117

AuthJs

  • @auth/core: 0.18.0
  • @auth/sveltekit: 0.3.11

Reproduction URL

https://github.com/domlen2003/cf-auth0-drizzle-sveltekit-example

Describe the issue

When signin in everything works as intended, but signout doesn't remove the cookies from Auth0.
So when signing in again (directly after a signout) the user never sees the Auth0 site because the cookie still exist and Auth0 automatically uses it for granting a code again.

How to reproduce

Configure a (SvelteKit) project with Auth0 as the only provider.
Then signin, signout and signin again.
The second signing wont bring you to the Auth0 signin screen but rather signin directly (as if you were never signed out and just refreshed).

Expected behavior

After a signout the user should always be displayed with the signin options again.
E.g. forgot password or change account is only possible this way.

@domlen2003 domlen2003 added bug Something isn't working providers triage Unseen or unconfirmed by a maintainer yet. Provide extra information in the meantime. labels Oct 27, 2023
@balazsorban44
Copy link
Member

This is currently expected, as we don't support federated logouts out of the box yet, although it's possible to achieve. See #836

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working providers triage Unseen or unconfirmed by a maintainer yet. Provide extra information in the meantime.
Projects
None yet
Development

No branches or pull requests

2 participants