Skip to content

Regenerate session IDs after authentication - #27

Open
g105b wants to merge 1 commit into
masterfrom
fix/rotate-session-after-authentication
Open

g105b wants to merge 1 commit into
masterfrom
fix/rotate-session-after-authentication

Conversation

@g105b

@g105b g105b commented Nov 5, 2026

Copy link
Copy Markdown
Member

Regenerate the session ID before saving a newly authenticated user. Invalidate the old session and preserve other session data. Custom session containers now require a regeneration callback.

Add regression tests for old-session access, response replay and rotation failures. All 68 tests and code checks pass.

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.

1 participant