Get OIDC keys

GET /api/configs/oidc/{keyType}

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 or cookie-keys.

Responses

  • 200 application/json

    An array of OIDC signing keys for the given key type.

    Hide response attributes Show response attributes object
  • 400

    Bad Request

  • 401

    Unauthorized

  • 403

    Forbidden

GET /api/configs/oidc/{keyType}
curl \
 -X GET https://[tenant_id].logto.app/api/configs/oidc/{keyType}
Response examples (200)
[
  {
    "id": "string",
    "createdAt": 42.0,
    "signingKeyAlgorithm": "RSA"
  }
]