unividuell / life-reminder

0 stars 0 forks source link

session timeout #12

Closed cleemansen closed 1 year ago

cleemansen commented 1 year ago

As a power user I am loosing data due to a session timeout.

cleemansen commented 1 year ago

https://developers.google.com/identity/oauth2/web/guides/use-token-model#token_expiration

cleemansen commented 1 year ago
{"access_token":"XXX","token_type":"Bearer","expires_in":3599,"scope":"email profile openid https://www.googleapis.com/auth/userinfo.profile https://www.googleapis.com/auth/userinfo.email https://www.googleapis.com/auth/calendar","authuser":"0","prompt":"none"}

"expires_in":3599 -> 1h

cleemansen commented 1 year ago

Good summary: https://stackoverflow.com/a/74607003/810944