You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My project uses the local provider. On every page load, even before app.vue is rendered, a call to my authentication endpoint is made, presumably to get the authentication data.
I wouldn't have an issue with this if I could display a loading screen while the request is being made. I apologize if I missed the way to get around it.
This screenshot shows that the trace of the call, and I do not know if I can render anything before it finishes. The call seems to be run before the refreshHandler's init method is called.
How would you implement this?
The topic is open to discussion. Maybe the initial session refresh call can be disabled in the configuration, just like we can for enableOnWindowFocus. useAuth().refresh() would have to be called manually in the app.
Additional information
Would you be willing to help implement this feature?
Provider
AuthJS
Local
Refresh
New Provider
The text was updated successfully, but these errors were encountered:
Describe the feature
My project uses the local provider. On every page load, even before app.vue is rendered, a call to my authentication endpoint is made, presumably to get the authentication data.
I wouldn't have an issue with this if I could display a loading screen while the request is being made. I apologize if I missed the way to get around it.
This screenshot shows that the trace of the call, and I do not know if I can render anything before it finishes. The call seems to be run before the refreshHandler's
init
method is called.How would you implement this?
The topic is open to discussion. Maybe the initial session refresh call can be disabled in the configuration, just like we can for
enableOnWindowFocus
.useAuth().refresh()
would have to be called manually in the app.Additional information
Provider
The text was updated successfully, but these errors were encountered: