temporalio / temporalio/temporal

Add `EdDSA` support to default JWT ClaimMapper

Open
#6,555 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
Go
Stars
23.2k
Forks
1.9k
Avg merge
2d 8h
Merged PRs (30d)
228

Description

Is your feature request related to a problem? Please describe.
We would like to use EdDSA JWTs with the default ClaimMapper, but it currently only supports RS256 and ES256 tokens.

Describe the solution you'd like
Add support for EdDSA using Ed25519 curve.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start in common/authorization/default_token_key_provider.go around the referenced line, where the default ClaimMapper currently handles RS256 and ES256 tokens. Trace the existing key and algorithm handling, then verify that EdDSA with the Ed25519 curve is accepted by the relevant authorization tests or validation path.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
authentication, security
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.