Skip to content

fix(auth): preserve padded cookie values across auth routes - #225

Merged
ralyodio merged 1 commit into
profullstack:masterfrom
aiirvizionz:clientkit/auth-cookie-preserve-padding-routes
Aug 1, 2026
Merged

fix(auth): preserve padded cookie values across auth routes#225
ralyodio merged 1 commit into
profullstack:masterfrom
aiirvizionz:clientkit/auth-cookie-preserve-padding-routes

Conversation

@aiirvizionz

Copy link
Copy Markdown
Contributor

Preserve complete auth cookie values after the first separator in key-backup, backup-pin, and conversation participant routes. Padded base64 values can contain '='; splitting on every separator truncated them and caused authentication failures. Adds regression coverage for each endpoint.\n\nTests: 14 passed across 3 Vitest files.

@ralyodio
ralyodio merged commit c3aca31 into profullstack:master Aug 1, 2026
7 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