Description
Overview
sessionExpiresAt is stored but never checked.
Background
The store saves sessionExpiresAt but no code checks if the session has expired, meaning stale tokens may be used and sessions don't expire properly.
Specifications
- Check token expiry on app foreground
- Auto-refresh if about to expire
- Redirect to login if expired
Tasks:
- Add expiry check on foreground
- Add auto-refresh logic
- Add expiry warning
Impacted Files:
- src/store/index.ts
- App.tsx
Labels: security, priority-high
🙌Contribution Guidelines:
Assignment required before PR submission
Timeframe: 48-72 hours
PR description must include: Close #20
Star the repo⭐
For more context, please refer to the mobile README
Description
Overview
sessionExpiresAt is stored but never checked.
Background
The store saves sessionExpiresAt but no code checks if the session has expired, meaning stale tokens may be used and sessions don't expire properly.
Specifications
Tasks:
Impacted Files:
Labels: security, priority-high
🙌Contribution Guidelines:
Assignment required before PR submission
Timeframe: 48-72 hours
PR description must include: Close #20
Star the repo⭐
For more context, please refer to the mobile README