Session handling in Google oauth
I am using google javascript auth library to authenticate users on my website where i check the token expiration for validity. I am currently using only client side stream.
A few questions:
-
Does Google auth handle the token on its own, or do I have to do it manually?
-
If it handles the token update itself - is there a hook method I can use to detect when the access token has changed?
-
If this is not the case, what alternatives am I facing?
Many thanks.
+3
source to share