MicahParks / keyfunc

Create a jwt.Keyfunc for JWT parsing with a JWK Set or given cryptographic keys (like HMAC) in Golang.
Apache License 2.0
274 stars 45 forks source link

Allow for user provided context.Context in parsing #118

Closed MicahParks closed 7 months ago

MicahParks commented 7 months ago

The purpose of this pull request is to allow for a user-provided context.Context in JWT parsing so goroutines do not last longer than desired when waiting for remote JWK Set resources to refresh.

This should have been included in the /v3 release.