Describe the feature
If getSession throws an exception, the backend is most likely at fault:
If you clear auth data, all users using the website will have to log in again.
How would you implement this?
Only clear the session when the http error code returned from the backend is 401
Additional information
Provider
Describe the feature
If getSession throws an exception, the backend is most likely at fault:
If you clear auth data, all users using the website will have to log in again.
nuxt-auth/src/runtime/composables/local/useAuth.ts
Line 99 in faa039b
How would you implement this?
Only clear the session when the http error code returned from the backend is 401
Additional information
Provider