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
I need to perform external error handling when calling getSession from a signIn call.
It turns out that in my project signIn works, returning the access token, but when calling nextTick(getSession) and the api responds with an error when recovering the session, the error just comes out in the console, and I can't perform the treatment.
How would you implement this?
The suggestion is within the try, which has console.error, to also trigger an error to be handled externally.
Additional information
Would you be willing to help implement this feature?
Describe the feature
I need to perform external error handling when calling getSession from a signIn call.
It turns out that in my project signIn works, returning the access token, but when calling nextTick(getSession) and the api responds with an error when recovering the session, the error just comes out in the console, and I can't perform the treatment.
How would you implement this?
The suggestion is within the try, which has console.error, to also trigger an error to be handled externally.
Additional information
Provider
Reference line
nuxt-auth/src/runtime/composables/local/useAuth.ts
Line 133 in a4b2b2e
The text was updated successfully, but these errors were encountered: