Get credential issuer’s JSON Web Key Set (JWKS)
You can use this public endpoint for GOV.UK One Login to retrieve the credential issuer’s JSON Web Key Set (JWKS) of public keys to verify the pre-authorised code.
/.well-known/jwks.json
get
A public endpoint that returns the service’s public keys in JSON Web Key Set (JWKS) format. These keys are used to verify the signature of JWTs issued by the service.
Responses
| Status | Description | Schema |
|---|---|---|
| 200 |
Credential issuer’s JWKS. application/json
|
JwksResponse |
Schemas
JwksResponse
| Name | Type | Required | Description | Schema |
|---|---|---|---|---|
| keys | array | true | A set of public keys, each in JSON Web Key (JWK) format. |
Key |
Key
| Name | Type | Required | Description | Schema |
|---|---|---|---|---|
| kty | string | true | Key Type. The family of cryptographic algorithms used with the key. |
|
| kid | string | true | Key ID. Unique identifier to match a specific key. |
|
| crv | string | true | Curve. Cryptographic curve used with the key. |
|
| x | string | true | The “x” coordinate for the elliptic curve point. |
|
| y | string | true | The “y” coordinate for the elliptic curve point. |
|
| alg | string | true | Algorithm. The cryptographic algorithm used with the key. |
|
| use | string | true | The intended use of the key. |