cds-snc / cds-snc/platform-forms-client
Session verifier that can be revoked when user terminates their session
- Dominant language
- TypeScript
- Stars
- 46
- Forks
- 16
- Avg merge
- 1d 9h
- Merged PRs (30d)
- 91
Description
## Security Story
### Story context
**SC-23(1)**
- JWTs are valid up to 2 hours
- These cannot be revoked before expiration or after logout
## Risk reduction
- Risk of tokens being compromised
- Risk is reduced by using short-lived tokens (5-15 minutes)
- Add session verifier that can be revoked when a user terminates their session
Contributor guide
Research direction
The issue describes JWT validity, logout, short-lived tokens, and a revocable session verifier, but names no files, tests, or entry points. Start by locating the session and JWT authentication flow in the TypeScript NextJS application; done should include a defined revocation path on session termination and verification that terminated sessions cannot continue using valid tokens.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- nextjs, typescript
- Domain
- authentication, security
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100