Skip to content

Make public key available at .well-known/jwks.json #3866

Answered by nikitabarskov
janoschp asked this question in Q&A
Discussion options

You must be logged in to vote

After following this tutorial https://www.ory.sh/docs/identities/session-to-jwt-cors#end-to-end-example and successfully creating a private+public key set and patching the identity-config, I am able to generate Json web tokens from a given session. I now try to validate this token on my server and would like to retrieve the public key from https://{project.slug}.projects.oryapis.com/.well-known/jwks.json . But unfortunately my public key is not available from this URL, isn't it supposed to be available there? Is there any way to make it available? I would like to avoid hardcoding the public key into my backend.

Hey, @janoschp

Not sure if this helps, but I see that Ory docs says it's pos…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by vinckr
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants