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

Support JWKs validation #3658

Open
JoaquinGimenez1 opened this issue Nov 11, 2024 · 2 comments
Open

Support JWKs validation #3658

JoaquinGimenez1 opened this issue Nov 11, 2024 · 2 comments
Labels
enhancement New feature or request.

Comments

@JoaquinGimenez1
Copy link

What is the feature you are proposing?

JSON Web Key Sets are becoming more and more common these days. While Hono offers a JWT validation middleware it would be very nice to extend the current middleware to also validate JWTs that are signed with a public key. This should help any hono application that uses Cloudflare Zero Trust Access/Okta/other solutions.

Cloudflare Ref: https://developers.cloudflare.com/cloudflare-one/identity/authorization-cookie/validating-json/

@JoaquinGimenez1 JoaquinGimenez1 added the enhancement New feature or request. label Nov 11, 2024
@oussamasf
Copy link
Contributor

@EdamAme-x
I guess the functions used to implement JWKS that are imported from the jose package can't be used in the codebase, as everything must be implemented from scratch?

@G4brym
Copy link

G4brym commented Dec 13, 2024

This was just released @hono/cloudflare-access

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

3 participants