:warning: without a minimal reproduction we won't be able to look into your issue
What is expected?
this.$auth.loggedIn to be updated after loginWith method.
What is actually happening?
this.$auth.loggedIn (and the .storage object containing the same data not updating either)
Steps to reproduce
Just logging in.
Additional information
I feel like I may have overlooked something. I bug of this size couldn't have been overlooked. Values are properly updated after a manual refresh, but that defeats the point of an SPA doesn't it.
Checklist
[no ] I have tested with the latest Nuxt version and the issue still occurs
[yes ] I have tested with the latest module version and the issue still occurs
[didn't find similar ] I have searched the issue tracker and this issue hasn't been reported yet
My fault. Fetching user after login with refresh is required. Imo fetching the user should be optional as in some cases only the authentication jwt should suffice
Version
module: nuxt:
Nuxt configuration
mode:
Nuxt configuration
Reproduction
What is expected?
this.$auth.loggedIn to be updated after loginWith method.
What is actually happening?
this.$auth.loggedIn (and the .storage object containing the same data not updating either)
Steps to reproduce
Just logging in.
Additional information
I feel like I may have overlooked something. I bug of this size couldn't have been overlooked. Values are properly updated after a manual refresh, but that defeats the point of an SPA doesn't it.
Checklist