go-jose icon indicating copy to clipboard operation
go-jose copied to clipboard

AutoRefreshing JWK ?

Open asanka88 opened this issue 3 years ago • 1 comments

Does this project have helper methods or something for a jwk that fetch keys from a remote url ? something like below

       const url = "https://abc.com/keys"

	jwks, err := NewJWKFromWeb(url)

	key, err := jwks.Key("id1")

asanka88 avatar Jun 11 '22 03:06 asanka88

@asanka88 No it doesn't have. You can try Provider from github.com/auth0/go-jwt-middleware/v2/jwks.

nick9822 avatar Aug 07 '22 12:08 nick9822