Support filtering JWKS by x5t claim? #484
liamoneill
started this conversation in
Ideas
Replies: 1 comment
-
|
Hi @liamoneill It would seem Github documents there being In fact their own documentation only shows the And yeah, until either fixed by github or not, I would recommend passing your own getkey function. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Good day,
I'm trying to verify JWTs GitHub Action's JWTs tokens, however their tokens don't use the
kidclaim and instead seem to rely onx5t.Example header:
{ "typ": "JWT", "alg": "RS256", "x5t": "eBZ_cn3sXYAd0ch4THBKHIgOwOE" }JWKS server: JWKS server (has both
kid&x5t)I found a similar header in #73 (ADFS), which is starting to make me think this is a Microsoft/AD quirk (GHA's tokens have
"IdentityTypeClaim": "System:ServiceIdentity",etc. in their payload).Is this something that would be appropriate for this library to support, or is it best to do a workaround for these situations (i.e. custom getKey function)?
p.s. Thanks for your library!
Beta Was this translation helpful? Give feedback.
All reactions