Skip to content

fix: SPA auth gate path prefix for share keys - #255

Merged
karmaniverous merged 1 commit into
mainfrom
fix/spa-auth-gate-path-prefix
Jul 4, 2026
Merged

fix: SPA auth gate path prefix for share keys#255
karmaniverous merged 1 commit into
mainfrom
fix/spa-auth-gate-path-prefix

Conversation

@jgs-jeeves

Copy link
Copy Markdown
Collaborator

The server-side auth gate (#253) passes the full URL path including the /browse\ or /runner\ prefix to
esolveKeyAuth, but share keys are computed against the path without the prefix. HMAC mismatch → auth returns
one\ → sign-in page for every share link.

Strips /browse\ and /runner\ prefixes before key verification, matching the path normalization used everywhere else.

@karmaniverous
karmaniverous merged commit 4eacdd0 into main Jul 4, 2026
3 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