What problem does this feature solve?
This would make it easy for devs to create the user in their own data store in e.g.
.then({ })
and errors in .catch({ })
so that means i should be able to do something like:
this.$auth.loginWith('facebook').then({
// Create the user in my own data store, e.g. MySQL etc.
}).catch({
// If the user creation fails in own data store, remove the data in vuex
await this.$auth.logout()
})
This feature request is available on Nuxt community (#c206)
What problem does this feature solve?
This would make it easy for devs to create the user in their own data store in e.g.
.then({ })and errors in
.catch({ })so that means i should be able to do something like: