4. Authentication & User Roles
šToken System:
- The app uses an access token for API authentication.
- Token expires:
- After 15 minutes of inactivity
- After 1 day, regardless of usage
- On token expiration: API returns āUnauthorizedā ā user is redirected to onboarding.
šļøCaching:
- Stores:
- Selected theme (dark/light/system)
- Selected language
- File/image caches
- On logout: All caches cleared (except theme/language)
Updated 6 months ago
Did this page help you?

