Skip to content

feat: implement session expiry and refresh with sliding window#232

Merged
Baskarayelu merged 4 commits intoRemitwise-Org:mainfrom
Benalex8797:feat/session-expiry-and-refresh
Feb 25, 2026
Merged

feat: implement session expiry and refresh with sliding window#232
Baskarayelu merged 4 commits intoRemitwise-Org:mainfrom
Benalex8797:feat/session-expiry-and-refresh

Conversation

@Benalex8797
Copy link
Contributor

close #153

- Add session expiry with configurable duration (default 7 days)
- Implement optional sliding window refresh mechanism
- Add frontend session expiry handling with user notifications
- Create comprehensive test suite (all tests passing)
- Add session expiry logging for security monitoring
- Update environment variables documentation
- Add integration examples and troubleshooting guides

Implements requirements:
- Session expiry enforcement with 401 responses
- Automatic cookie clearing on expiry
- Frontend redirect to wallet connection on expiry
- Configurable refresh strategy via environment variables
- Comprehensive documentation

Closes #[issue-number]
@Baskarayelu
Copy link
Contributor

@Benalex8797 resolve the conflicts

@Benalex8797
Copy link
Contributor Author

conflict resolved

@Baskarayelu
Copy link
Contributor

@Benalex8797 please resolve the conflicts

@Benalex8797
Copy link
Contributor Author

conflict fixed. please merge

@Benalex8797
Copy link
Contributor Author

please kindly merge

@Baskarayelu Baskarayelu merged commit 5e7fb9a into Remitwise-Org:main Feb 25, 2026
0 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add Session Refresh and Expiry

2 participants