I use the popup login for my app. When my app refreshes I need to check if the user is authenticated and block my app until they are. Or if they use the popup login, then I call
which blocks until the login completes. Is that right? I am trying to determine the best practice logic for when my app first loads to determine if player is logged in or not. Currently, I check
But because it can be set asynchronously, do I have to keep checking it in my app waiting for auth0 loginWithPopup to complete?
PS. I use Vue integration, and I did follow the Vue docs already.