elysiajs / elysia-jwt

Plugin for Elysia for using JWT Authentication
MIT License
38 stars 16 forks source link

feat: support JWKS with updated types #30

Open acrois opened 4 months ago

acrois commented 4 months ago

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.

Wafje commented 2 weeks ago

Can we have this pull request merged?