Build a Vue.js One Tap OAuth2 Google Login Using vue3-google-login & Identity Services in Browser

 

npm i vue3-google-login

 

 

main.ts

 

 

Now here in the above code you need to replace your own client_id which can be created in google cloud console

 

App.vue

 

 

Comments

No comments yet. Why don’t you start the discussion?

Leave a Reply

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