I'm following this guide to create an invite policy that accepts an email address in the form of a JWT token via the id_token_hint
query parameter.
Per this guide, I'm required to create a PrivateKey/PublicKey pair in my application and expose a .well-known/openid-configuration
endpoint, that the policy uses to read the public key to verify the id_token_hint
.
I was wondering whether there is a better way to manage my keys. Something along the lines of a service that exposes an endpoint for singing a message, and also an endpoint that is similar to .well-known/openid-configuration
for reading the public key.
I read about an Azure service that is called Azure Key-Vault, which is similar to what I want, but doesn't map exactly from what I read so far. Specifically, I couldn't find an endpoint that exposes the public key in a JWKS format.
Do you have a solution?