Skip to content

test(auth): reject invalid JWT subjects before user sync - #79

Merged
Lspnjr1 merged 1 commit into
VelaPayments:mainfrom
mayborn005:codex/vela-server-issue-73
Oct 6, 2026
Merged

Lspnjr1 merged 1 commit into
VelaPayments:mainfrom
mayborn005:codex/vela-server-issue-73

Conversation

@mayborn005

Copy link
Copy Markdown
Contributor

Closes #73

Reject empty, whitespace, and non-string JWT subjects before user synchronization. Add strategy and protected-route regression coverage for absent bearer tokens, invalid signatures, expired tokens, and invalid subjects.

Validation: targeted Jest suites for the auth strategy and guard; TypeScript check.

@Lspnjr1
Lspnjr1 merged commit 1519a24 into VelaPayments:main Oct 6, 2026
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.

Reject invalid JWT subject claims before user synchronization

2 participants