Skip to content

feat(session): add optional verify fn to session-strategy#7

Merged
chickendreanso merged 2 commits into
mainfrom
4-session-strategy-verify
Apr 15, 2026
Merged

feat(session): add optional verify fn to session-strategy#7
chickendreanso merged 2 commits into
mainfrom
4-session-strategy-verify

Conversation

@chickendreanso

Copy link
Copy Markdown
Collaborator

Closes #4

  • session-strategy accepts optional :verify fn to re-validate session identity per request
  • Verify returning nil skips the strategy (stale session); returning a value authenticates
  • Add session-strategy-schema to schema namespace

@chickendreanso chickendreanso self-assigned this Apr 15, 2026
@chickendreanso chickendreanso merged commit 49d8826 into main Apr 15, 2026
2 checks passed
@chickendreanso chickendreanso deleted the 4-session-strategy-verify branch April 15, 2026 08:14
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.

session-strategy trusts session blindly, revoked users stay authenticated until cookie expires

2 participants