You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When redirecting the user to /auth/logout, the session is not deleted and the user is still logged in. The server logs The Auth0 client does not have RP-initiated logout enabled, the user will be redirected to the '/v2/logout' endpoint instead. Learn how to enable it here: https://auth0.com/docs/authenticate/login/logout/log-users-out-of-auth0#enable-endpoint-discovery. It appears that the RP logout option is part of the Enterprise tier, but is unlikely to be related to the problem described.
Hi @mluttmann 👋 Thanks for reporting this — it looks like the cookie is not being cleared for the /v2/logout redirect. We'll get a fix for this in the upcoming release!
Checklist
Description
When redirecting the user to
/auth/logout
, the session is not deleted and the user is still logged in. The server logsThe Auth0 client does not have RP-initiated logout enabled, the user will be redirected to the '/v2/logout' endpoint instead. Learn how to enable it here: https://auth0.com/docs/authenticate/login/logout/log-users-out-of-auth0#enable-endpoint-discovery
. It appears that the RP logout option is part of the Enterprise tier, but is unlikely to be related to the problem described.Reproduction
Setup auth0 v4 beta 8 as describe in v4.0.0-beta.8/README.md
Add button for logout in
test-app/src/app/page.tsx
Additional context
No response
nextjs-auth0 version
4.0.0-beta.8
Next.js version
15.0.3
Node.js version
22.11.0
The text was updated successfully, but these errors were encountered: