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
- Appwrite (Dart SDK) (for package_info_pl...
Hi team! Many Flutter plugins now need package_info_plus 10.x and device_info_plus 13.x, but appwrite 25.4.0 still constrains package_info_plus: >=8.0.2 <10.0...
- Images/Videos in storage appearing broke...
I am running into a storage issue after upgrading my self-hosted Appwrite instance , all of my previously uploaded images and videos are now showing as broken i...
- executeFunction intermittently throws Fo...
Environment: Flutter app using the Appwrite Flutter SDK, calling executeFunction for [describe endpoint, e.g. live-stream-related function]. *Description*: Int...