Skip to content

fix(test): correct sub claim in remote JWKS token fixture and wire tests into CI#89

Merged
mandarini merged 2 commits into
mainfrom
fix/remote-jwks-test-sub-claim
Jul 3, 2026
Merged

fix(test): correct sub claim in remote JWKS token fixture and wire tests into CI#89
mandarini merged 2 commits into
mainfrom
fix/remote-jwks-test-sub-claim

Conversation

@mandarini

@mandarini mandarini commented Jul 3, 2026

Copy link
Copy Markdown
Collaborator

Tokens in the remote JWKS describe block were minted with sub 'user-123' but two tests asserted 'user-remote'. The implementation was correct, the fixture was wrong.

Also adds pnpm test to ci.yml — tests were never running in CI.

@pkg-pr-new

pkg-pr-new Bot commented Jul 3, 2026

Copy link
Copy Markdown

Open in StackBlitz

npm i https://pkg.pr.new/@supabase/server@89

commit: 6b3512d

@mandarini mandarini marked this pull request as ready for review July 3, 2026 10:04
@mandarini mandarini requested review from a team as code owners July 3, 2026 10:04
@mandarini mandarini changed the title fix(test): correct sub claim in remote JWKS token fixture fix(test): correct sub claim in remote JWKS token fixture and wire tests into CI Jul 3, 2026
@mandarini mandarini self-assigned this Jul 3, 2026
@mandarini mandarini force-pushed the fix/remote-jwks-test-sub-claim branch from 9b929cb to 6b3512d Compare July 3, 2026 10:23
@mandarini mandarini merged commit 744105b into main Jul 3, 2026
7 checks passed
@mandarini mandarini deleted the fix/remote-jwks-test-sub-claim branch July 3, 2026 10:54
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.

3 participants