DEV Community

loading...

Discussion on: How to add authentication to your universal Nuxt app using nuxt/auth module?

Collapse
cds profile image
Chandrakant Sangale

how can i save user to database(mongodb). Can we save the callback/ response from google (user/profile ) to database while adding to vuex store. If yes then how ? I had done some (hack) approch now i am saving user data to db after the user/ profile save to vuex store or store is set to user but i need to save callback directly from google or better approch

Collapse
cds profile image
Chandrakant Sangale

I am working on my own project i dont want to save users password in my db just want to implement google/facebook login without local auth. But i need user email (uniqueid) to save other data for reference later