Skip to content

Support ES384 JWTs - #2989

Merged
hinatamasaki-supabase merged 2 commits into
masterfrom
jwt-es384-support
Dec 4, 2026
Merged

hinatamasaki-supabase merged 2 commits into
masterfrom
jwt-es384-support

Conversation

@hinatamasaki-supabase

Copy link
Copy Markdown
Contributor

Adds support for ES384 JWTs. Also adds additional test cases for ECDSA P-384 (for ES384) and P-521 (for ES512) keys.

@hinatamasaki-supabase
hinatamasaki-supabase requested a review from a team as a code owner December 4, 2026 01:30
@hinatamasaki-supabase

hinatamasaki-supabase commented Dec 4, 2026 •

Copy link
Copy Markdown
Contributor Author

FWIW, I've tested it locally as well and I've confirmed that the basic APIs (login, signups, refresh etc) works with ES384 and ES512.

@hinatamasaki-supabase

Copy link
Copy Markdown
Contributor Author

@claude Review

@fadymak fadymak left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Change looks good to me! The algorithms in the JWKS might be getting out of sync:

IDTokenSigningAlgValuesSupported: []string{"RS256", "HS256", "ES256"}, // TODO :: should create this based on signing key config?

@hinatamasaki-supabase
hinatamasaki-supabase merged commit 0c8e252 into master Dec 4, 2026
12 checks passed
@hinatamasaki-supabase
hinatamasaki-supabase deleted the jwt-es384-support branch December 4, 2026 09:39
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