devbaji / vue3-google-login

Add Sign In With Google feature to your Vue 3 application
https://github.com/devbaji/vue3-google-login/
MIT License
208 stars 30 forks source link

How to refresh the access token? #22

Closed pweimann closed 3 months ago

pweimann commented 1 year ago

Hello,

I am using your vue3-google-login library in my project and I need to refresh the access token by calling the method requestAccessToken(). However, I am unsure of how to properly invoke this method.

Could you please provide some guidance on how to use the requestAccessToken() method for refreshing the access token? It would be really helpful if you could provide some sample code or step-by-step instructions.

Thank you for your time and assistance!

devbaji commented 3 months ago

This plugin is just a wrapper over Google 3P Authorization JavaScript Library. This should be only used to authenticate a valid google user and get the user info, other logics like you website user session/accetoken logics must be handled from your side.