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

Fix logout should wait for client logout to complete before redirecting #12

Merged
merged 1 commit into from
Dec 21, 2023

Conversation

slax57
Copy link
Contributor

@slax57 slax57 commented Dec 21, 2023

Problem

With the current implementation, the redirection at logout is managed by react-admin, and does not wait for the auth0 js client logout to complete, which can lead to race conditions causing the logout not to reach completion.

Solution

Return false to disable the react-admin redirect, and rely only the the auth0 js client to perform the redirect.

@djhi djhi added this to the 1.1.1 milestone Dec 21, 2023
@djhi djhi merged commit 262a083 into main Dec 21, 2023
@djhi djhi deleted the fix-logout-redirect branch December 21, 2023 14:05
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

Successfully merging this pull request may close these issues.

None yet

2 participants