Get OIDC keys
Get OIDC signing keys by key type. The actual key will be redacted from the result.
Path parameters
-
keyType
string Required Private keys are used to sign OIDC JWTs. Cookie keys are used to sign OIDC cookies. For clients, they do not need to know private keys to verify OIDC JWTs; they can use public keys from the JWKS endpoint instead.
Values are
private-keys
orcookie-keys
.
GET
/api/configs/oidc/{keyType}
curl \
--request GET 'https://[tenant_id].logto.app/api/configs/oidc/{keyType}' \
--header "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
[
{
"id": "string",
"createdAt": 42.0,
"signingKeyAlgorithm": "RSA"
}
]