temporalio / temporalio/temporal
Add `EdDSA` support to default JWT ClaimMapper
Nobody has claimed this yet.
- 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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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