Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve JWK into PublicKey conversions #369

Open
curtis-h opened this issue Jan 31, 2025 · 0 comments
Open

Improve JWK into PublicKey conversions #369

curtis-h opened this issue Jan 31, 2025 · 0 comments
Labels
enhancement New feature or request

Comments

@curtis-h
Copy link
Contributor

Proposed feature

Improve how we convert JWK objects into PublicKey instances.
For instance in JWTCore.ts we explicitly convert based on several conditionals, which may or may not be according spec.

Does this belong in Apollo?

Feature description

We should follow JWK spec to parse the values, ie x which could describe a co-ord or key data; dependent on the type of JWT.
And from there create the relevant Key.

Anything else?

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant