i want to add authentication to my app. i just installed pinia and vue3-google-login, i have saved the google credentials to client…json. Create a userAuth composable to hold google logic, a user store using Pinia and a <GoogleLogin /> component and add it to the Navbar. on successful login we will do a post to our mock backend but we must be able to keep state and handle login and logout locally.


Posted

in

by

Tags:

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *