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

Authentication validation is too slow on page render #32

Open
ILostMyMedic opened this issue May 20, 2024 · 0 comments
Open

Authentication validation is too slow on page render #32

ILostMyMedic opened this issue May 20, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@ILostMyMedic
Copy link
Owner

Describe the bug
When reloading the site, the authentication has not yet validated if a user is signed it.
This can cause an issue where users will be able to attempt to re-sign in after authentication validation

To Reproduce
Steps to reproduce the behavior:

  1. Reload page
  2. Hit sign in
  3. Auth0 detects the user is already signed in
  4. Gets redirected back to the original site.

Expected behavior
The page should wait before prompting the user with a sign in option.
This can be achieved using the isLoading function from Auth0

@ILostMyMedic ILostMyMedic added the bug Something isn't working label May 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant