openid-connectoktaokta-api

okta oidc - Where/How do I find my jwks_uri?


I've already posted this question in okta community but haven't received an answer yet. Hello!

Can someone explain how to find the jwk_uri? I was looking at the docs here:

https://developer.okta.com/docs/reference/api/oidc/*keys

It says:

Note: Looking for how to obtain the jwks_uri for your org or custom authorization server? See the well-known OpenID metadata endpoint and the well-known OAuth 2.0 metadata endpoint.

but when I click on the links provided I see this:

Custom Authorization Server--GET

https://${yourOktaDomain}/oauth2/${authorizationServerId}/.well-known/openid-configuration

so now... where do I find my authorizationServerId and is the above now the jwks_uri url??


Solution

  • Go to the URL of this form for your system:

    Then find the jwks_uri value in the JSON response, which will be similar to this: