Test Authentication Flow
This page requires authentication. If you can see this content, you are successfully authenticated!
Authentication Flow Testing
-
Issue 1 Fix: The authentication script should no longer run on every page visit when you’re already logged in. The shared Auth0 instance manager ensures only one initialization.
-
Issue 2 Fix: After authentication, you should have been redirected back to this page (not the home page). The
appState.returnTo
parameter preserves your original destination. -
Issue 3 Fix: You should see a logout button in the left sidebar. Click it to log out and test the authentication flow again.
Current Authentication Status
If you’re seeing this content, you are authenticated. Check the left sidebar for:
- The logout button (from Auth0Logout component)
- Your authentication status
Testing Instructions
- Navigate to this page while logged out - you should be redirected to Auth0 login
- After login, you should return to this exact page
- Navigate away and come back - no re-authentication should occur
- Click the logout button to test logout functionality