linagora / tmail-flutter

A multi-platform (Flutter) application for reading your emails, with your favorite devices, using the JMAP protocol!
GNU Affero General Public License v3.0
327 stars 74 forks source link

QA: [mobile] offline mode with expired OIDC access token #2966

Open chibenwa opened 4 months ago

chibenwa commented 4 months ago

Description

Expectation:

GIVEN network failure (connect timeout, etc...) AND expired OIDC access token WHEN user performs action (read cached / not cached mails, send mails in sending queue) THEN user is not logged out and actions are done as if tokens were not expired.

Notes: beware of regression!

hoangdat commented 4 months ago
chibenwa commented 4 months ago

After expirations of the access token?

hoangdat commented 4 months ago

yes, no problem of token expiration in offline mode (after offline mode too)