Hello, I need to know the difference between these two dates to know which one I need to close the session when the cookie I save locally to support OFFLINEFIRST expires.
TL;DR
Title: Expiry Differences: providerAccessTokenExpiry vs expire on SesionModel
Message: Hello developers, I need help understanding the difference between providerAccessTokenExpiry and the expire on SesionModel. I want to determine which date I should use to close the session when the locally saved cookie for OFFLINEFIRST support expires. Can anyone provide insight? Thanks!
Solution: The providerAccessTokenExpiry refers to the expiry date of the OAuth provider access token, whereas the expire on SesionModel represents the expiration date of the session. To determine which date to use for closing the session when the locally saved cookie for OFFLINEFIRST support expiresProvider access token is the oauth provider access token
Recommended threads
- [SOLVED] Appwrite Cloud and FRA cloud se...
Can anyone estimate how long this will take to resolve? I am checking status here https://status.appwrite.online/
- How to use Operator.arrayAppend on a rel...
Hi, is it possible to use any operator on a relationship column? I have a One to Many relationship column on a table and I would like to add entries to the colu...
- Update user email using OTP
Hi, I am trying to implement email update using OTP, there is not password associated with the account. One solution I found online is creating appwrite functio...