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

feat: support JWKS with updated types #30

Open
wants to merge 12 commits into
base: main
Choose a base branch
from

Conversation

acrois
Copy link

@acrois acrois commented Apr 20, 2024

Fixes #26 and implements #29

I adapted the code to match the way that other, more recently modified plugins have been implemented such as @elysiajs/elysia-cron.

See example implementation: https://gist.github.com/acrois/8f9c6a0e2d3b6ee6744a0b7a87a2fa56

This updates to latest version of Elysia and adds the ability to install this package from source (if there is no dist, install dev deps & build). 🐈

This does regress the instance seeding. 🐈‍⬛

I tried to keep the changes minimal, this is simply the result of the combination of changes I got working with no errors and with JWK support.

@acrois acrois mentioned this pull request Apr 20, 2024
@Wafje
Copy link

Wafje commented Aug 28, 2024

Can we have this pull request merged?

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.

@elysiajs/jwt ^1.0.2 breaks type inference for handler functions
2 participants