Hi,
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
await this.auth0Client.loginWithPopup(o)
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
this.security.auth.isAuthenticated
But because it can be set asynchronously, do I have to keep checking it in my app waiting for auth0 loginWithPopup to complete?
thanks
PS. I use Vue integration, and I did follow the Vue docs already.