---
title: "Read the ID token signing keys"
method: GET
path: "/api/oauth/jwks"
tags: ["OAuth"]
---

# Read the ID token signing keys

`GET /api/oauth/jwks`

## Request

- Base URL: `https://git.cafe`
- URL: `https://git.cafe/api/oauth/jwks`
- Auth: none required

Returns the public keys (JWKS) that verify OpenID Connect ID tokens. Returns 404 while ID tokens are not configured.

## Response `200`

Response for status 200

- object
  - `keys` object[], required
    - `kty` 'RSA', required
    - `kid` string, required
    - `use` 'sig', required
    - `alg` 'RS256', required
    - `n` string, required
    - `e` string, required

## Other responses

- `429`: A rate limit is exhausted. Wait Retry-After seconds; the value is a hint, so back off on a repeat 429.

---

[API](https://skmtc.dev/gitcafe/apis/git-cafe-api.md) - [All operations](https://skmtc.dev/gitcafe/apis/git-cafe-api/llms.txt) - [OpenAPI document](https://skmtc.dev/gitcafe/apis/git-cafe-api/revisions/9fa233d2986d?raw)
