tsndr / cloudflare-worker-jwt

A lightweight JWT implementation with ZERO dependencies for Cloudflare Workers.
MIT License
680 stars 55 forks source link

Can we verify with the public key? #42

Closed ryanrdetzel closed 1 year ago

ryanrdetzel commented 1 year ago

I'm using keycloak and don't have access to the secret

ryanrdetzel commented 1 year ago

My fault, I needed to set the right algorithm and add -----BEGIN PUBLIC KEY----- -----END PUBLIC KEY----- around the key