#Need help trying to migrate my authentication from Vue 3 to Nuxt 3
2 messages · Page 1 of 1 (latest)
these are the problems I am currently facing:
- I cannot find a non-hacky way to add interceptors to the ofetch that Nuxt3 uses
- right now I have the refresh token stored in the localStorage which gives me problems accessing it during SSR
- I think I read somewhere that I should not use vue ref/reactive composables outside of components so this is probably not a valid way to store state in Nuxt 3