Skip to content

Read the issuer's public keys

GET
/api/federation/jwks
curl --request GET \
--url https://forge.example.com/api/federation/jwks

The RSA keys the issuer signs with, as a JSON Web Key Set, each named by its kid. A new key is listed seven days before it signs, and the one before stays seven days after it stops. 404 while the instance has no issuer. Cacheable for an hour.

OK

Media typeapplication/json
object
keys
required
Array<object>
object
kty
required
string
use
required
string
alg
required
string
kid
required
string
n
required
string
e
required
string

Example generated

{
"keys": [
{
"kty": "example",
"use": "example",
"alg": "example",
"kid": "example",
"n": "example",
"e": "example"
}
]
}

A refusal or an error, as a problem document. A model or draft you may not see answers 404, as one that does not exist.

Media typeapplication/problem+json
object
type
string
title
string
status
integer
detail
string
instance
string

Example generated

{
"type": "example",
"title": "example",
"status": 1,
"detail": "example",
"instance": "example"
}