jwtk/jjwt

How set my public key

YesidMarin opened this issue · 2 comments

Hi! Can you please provide an example of how to sign/verify using an existing public key pair with this structure?

image

stale commented

This issue has been automatically marked as stale due to inactivity for 60 or more days. It will be closed in 7 days if no further activity occurs.

I'm guessing @YesidMarin has already found an answer, but before this get's closed I figured I'd post a link to a simplistic JWKS key resolver: https://github.com/okta/okta-jwt-verifier-java/blob/okta-jwt-verifier-parent-0.5.1/impl/src/main/java/com/okta/jwt/impl/jjwt/RemoteJwkSigningKeyResolver.java

NOTE: v1.0 of JJWT should have support for this directly (as it is required for JWEs)