Get JSON Web Key Set for token validation
GET
/api/v1/auth/.well-known/jwks.json
const url = 'https://localhost:8080/api/v1/auth/.well-known/jwks.json';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://localhost:8080/api/v1/auth/.well-known/jwks.jsonReturn the public JWKS used by relying services to validate enriched tokens issued by the auth service
Responses
Section titled “ Responses ”JWKS response
Media type application/json
object
keys
Array
Example generated
{ "keys": [ "example" ]}