Skip to content

Conversation

bemisguided
Copy link

We have a use case where we need to resolve keys for JWTs from multiple issuers. Figured the most flexible solution was to provide the option pass a fully parsed JWT to the key resolver instead of just the kid.

Made this change backwards compatible so the the kid is passed still by default. A new setting on the Verifier controls this new behaviour. Added a test case and updated the README.md

Happy to clean up or change anything.

@coveralls
Copy link

Coverage Status

Coverage decreased (-79.9%) to 20.147% when pulling 6550ea4 on TouchBistro:feature/key-resolver-by-jwt into 3bc7df1 on jwtk:master.

@coveralls
Copy link

coveralls commented Dec 22, 2017

Coverage Status

Coverage decreased (-79.9%) to 20.147% when pulling 8992a8c on TouchBistro:feature/key-resolver-by-jwt into 3bc7df1 on jwtk:master.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants