authJwks
GET
/auth/.well-known/jwks.json
const url = 'http://localhost:8300/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 http://localhost:8300/auth/.well-known/jwks.jsonPublic key(s) for verifying access tokens; no x-api-key (the Kong plugin bypasses this path). Cache-Control: public, max-age=300.
Responses
Section titled “Responses”Public keys
Media typeapplication/json
object
keys
required
Array<object>
object
kty
required
use
required
alg
required
kid
required
string
n
required
Base64url modulus
string
e
required
Base64url exponent
string
Example
{ "keys": [ { "kty": "RSA", "use": "sig", "alg": "RS256" } ]}