Hello,
Looking at the URL to retrieve the public key for the JSON Web Token verif, it seems that it constantly changes if I hit CTRL + MAJ + R (/.well-known/jwks.json) and never corresponds to the keys I have created locally and pushed to the network via ory CLI. How can I retrieve the correct endpoint where my locally generated, pushed public key is situated?
Hello @careful-rain-13694, thanks for your answer. I am using Ory Network. When I query the URL, I always get a different output if I refresh my cache which surely does not make sense. The alternative is to generate a public key and store it locally, I suppose. I am just curious if there is a way to have the public key stored on Ory network. That would be way easier to maintain than managing the public key myself.
alert-room-61990
02/10/2024, 8:56 PM
Ok in fact the result is always the same but the order of the keys varies.
c
careful-rain-13694
02/12/2024, 8:19 AM
Yes indeed, the order may change but the keys are always the same. Except if you need to rotate them, you'd have to do the same operation again but as this operation already requires a manual operation, this should not require more effort to align the configuration accordingly.