Back

Set access token expiration time

  • 0
  • Self Hosted
  • Accounts
  • Web
BeT
6 Jan, 2024, 06:01

Is there a way to set google access token expiration time. Since refresh token doesn't seem to work atm

TL;DR
User is asking if there is a way to set the expiration time for a Google access token, as the refresh token is not currently working. Another user suggests that there is a bug report on GitHub regarding this issue. The suggested solution is to use `account.updateSession('current')` to refresh the access token, but it seems that the refresh token is missing. The second user asks if there is a GitHub issue for adding support for the refresh token.
Drake
6 Jan, 2024, 07:00

No I don't think so...is there a GitHub issue for adding support for the refresh token?

BeT
6 Jan, 2024, 07:57

yeah, its a bug report https://github.com/appwrite/appwrite/issues/5987. account.updateSession('current') should refresh the access token but its missing refresh token.

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more