phanan/vue-google-signin-button

Session storage broken

camhart opened this issue · 0 comments

For some reason, session storage for logged in users has been broken when I use this.

When you initialize the GoogleAuth object, you configure the object with your OAuth 2.0 client ID and any additional options you want to specify. Then, if the user has already signed in, the GoogleAuth object restores the user's sign-in state from the previous session.

https://developers.google.com/api-client-library/javascript/reference/referencedocs#googleauthcurrentuserget

Whenever I refresh the page it thinks I'm logged out.