How to handle errors with sidebase/nuxt-auth?

218 views Asked by At

I'm trying to use sidebase/nuxt-auth with my own backend (also in Nuxt, same app) for authentication. I couldn't find any example or in the docs about errors handling when the library is doing the requests (not triggered manually). If refresh endpoint, used to refresh token, returns an error, it is not being handled. Ideally it should logout. Is there a way to add a handler in that scenario?

1

There are 1 answers

1
drew_vvv On

as you can see at this issue conversation

they do not return http response.