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
- I'm experiencing a critical bug on Appwr...
Hey <@870607367597850624> team / support π I'm experiencing a critical bug on Appwrite Cloud that's blocking my production Flutter app. I've already filed GitH...
- context deadline exceeded
Hi, in one of my projects i continuously receive context deadline exceeded when trying to reach users API from my local machine: https://fra.cloud.appwrite.io/v...
- π Realtime Flutter SDK Crash β Realtime...
**Summary** When using Appwrite Cloud with the Flutter SDK (latest appwrite release: 21.4.0), Realtime crashes with: ```Unhandled async error: type '_Map<String...