router can not authenticate JWKS token #2602
Answered
by
garypen
killjoy2013
asked this question in
Q&A
|
Hi, and my finally, my authentication:
experimental:
jwt:
jwks_url: http://localhost:3100/.well-known/jwks.json
header_name: Authorization
header_value_prefix: Bearer
cooldown: 15sHowever, I'm getting below error in apollo studio; What am I missing? |
Answered by
garypen
Feb 12, 2023
Replies: 2 comments 3 replies
|
That is telling you that it is finding a key and using it to verify your JWT, but your JWT wasn't signed with the chosen key. Are you sure the JWT was signed with this key? |
2 replies
|
One other comment. That looks like an older version of the router. The experimental support now expects to receive an array of |
1 reply
Answer selected by
killjoy2013
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment



One other comment. That looks like an older version of the router. The experimental support now expects to receive an array of
jwks_urls. If you read the updated documentation at https://www.apollographql.com/docs/router/configuration/authn-jwt, it may be helpful.