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


1 answer


Revisiting this question:



  • After a lot of trial and error, I've come to the conclusion that Google javascript auth lib handles updating tokens on its own.

  • There is no such hook.

  • N / A.

0


source







All Articles