How to use the Google One Tap solution in your webapp to authenticate users #264
Replies: 4 comments 2 replies
-
The token is valid for 1hr. on server side validation of the token after the 1st hr, it will show invalid token. how do we refresh token within 1hr, so we don't have to prompt user again to fetch the valid token? |
Beta Was this translation helpful? Give feedback.
-
When I refresh I am not sign in anymore . Meaning after 2nd refresh user need to login again . I don't think it is normal . |
Beta Was this translation helpful? Give feedback.
-
Where are the discoveryDocs and scope entered ? Currently, I use: await gapi.client.init({
|
Beta Was this translation helpful? Give feedback.
-
Thanks for this article. Even official google documentation is not clear as this one. :) |
Beta Was this translation helpful? Give feedback.
-
How to use the Google One Tap solution in your webapp to authenticate users
Google Identity services provides us of seamless sign-in and sign-up flows (among other things), that we can use to ease the management of user authentication and sign-in to our website. This is the case of "Google One Tap", which I will explain in this post.
https://piraces.dev/posts/how-to-use-google-one-tap/
Beta Was this translation helpful? Give feedback.
All reactions