Could you let me know if the proposed solution by me in this related community post is able to fix your issue?
Otherwise, can you also try these following steps regarding troubleshooting the issue:
On the login page, register an event listener for local storage. We will be listening for a change to an isLoggedIn flag set in the popup window.
When the user clicks “login” open a popup window on a route that immediately triggers the Auth0 redirect.
The user is redirected to Auth0 and logs in.
Auth0 then redirects back to my site, we check for success, and set the isLoggedIn flag to a truthy value.
The popup window can now close itself.
Back in the main window, the local storage event listener is triggered, and we can use the Auth0 method getAccessTokenSilently to refresh the auth state.
If you still experience issues or have any other questions, let me know!
Since I haven’t heard back from you for a while, I will be marking my previous reply as a solution. You can remove the solution before the topic closes automatically if you still experience issues or you can always post again and reference this post.