Skip to content

feat: add session management — token refresh and revocation (#194)#290

Merged
Xuccessor merged 1 commit into
BountyOnChain:mainfrom
GBOYEE:feat/session-management-194
Jun 20, 2026
Merged

feat: add session management — token refresh and revocation (#194)#290
Xuccessor merged 1 commit into
BountyOnChain:mainfrom
GBOYEE:feat/session-management-194

Conversation

@GBOYEE

@GBOYEE GBOYEE commented Jun 19, 2026

Copy link
Copy Markdown
Contributor

Summary\n\nAdds session management capabilities: token refresh and revocation (#194).\n\n## Changes\n- POST /auth/refresh: exchange refresh token for new access token\n- POST /auth/revoke: add token to blacklist (logout)\n- In-memory token blacklist with isRevoked() check\n- RefreshTokenDto + RevokeTokenDto with class-validator\n- Revoked tokens rejected on refresh attempts\n\n## Testing\n- [ ] Verify refresh endpoint returns new access token\n- [ ] Verify revoked tokens are rejected\n- [ ] Verify non-revoked tokens still work\n\nCloses #194

…Chain#194)

- POST /auth/refresh: exchange refresh token for new access token
- POST /auth/revoke: add token to blacklist (logout)
- In-memory token blacklist with isRevoked() check
- RefreshTokenDto + RevokeTokenDto with validation
@GBOYEE

GBOYEE commented Jun 19, 2026

Copy link
Copy Markdown
Contributor Author

CI is fully green (Frontend ✅ Backend ✅ Contracts ✅ Security Audit ✅ E2E ✅). Adds session management — token refresh and revocation for issue #194. Ready for merge review! 🚀

@GBOYEE

GBOYEE commented Jun 19, 2026

Copy link
Copy Markdown
Contributor Author

📋 Paper Trail — Implemented as part of GrantFox OSS campaign. Session management — token refresh and revocation. CI fully green. Requesting reward review if eligible.

Copy link
Copy Markdown
Contributor

Hey 👋 Session management with refresh/revoke is solid — thanks. Merging. 🚀

@Xuccessor Xuccessor merged commit 959a61a into BountyOnChain:main Jun 20, 2026
6 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.

2 participants