light-mode-image
Learn
MATTR VII PlatformVerifier clients

Update an OIDC Client

Updates an existing OIDC Verifier Client by providing its ID.

Analytics Events

OIDC_VERIFIER_CLIENT_UPDATE_STARTOIDC_VERIFIER_CLIENT_UPDATE_SUCCESSOIDC_VERIFIER_CLIENT_UPDATE_FAIL

Roles

adminverifier
PUT/ext/oidc/v1/verifiers/{id}/clients/{clientId}
AuthorizationBearer <token>

In: header

Path Parameters

idstring

OIDC Verifier ID

Formatuuid
clientIdstring

OIDC Verifier Client ID

Formatuuid

Update a client

namestring

Insert a meaningful name for your OIDC Client.

redirectUrisarray<string>

This array can include a list of URLs. One of the URIs in that list must match the callback URI configured for your OIDC Client for the Authorization Request:

  • Must be a valid URL.
  • Must use the HTTPS protocol.
  • Must not be an IP address.
  • Must not include query parameters.
  • For testing, it’s okay to add a localhost uri like https://localhost:9090/callback
responseTypes?array<string>

Determines the authorization processing flow.

grantTypes?array<string>

OAuth Grant Type.

tokenEndpointAuthMethod?string

OAuth Token Endpoint Authentication Method.

idTokenSignedResponseAlgstring

Algorithm must match configured jwks. Defaults to ES256.

applicationType?string
logoUri?string

The logo to display above the QR code.

Formaturi

Response Body

curl -X PUT "https://example.vii.au01.mattr.global/ext/oidc/v1/verifiers/41458e5a-9092-40b7-9a26-d4eb43c5792f/clients/da9bb6e4-c9ae-4468-b6ac-72b90d6efd5d" \  -H "Content-Type: application/json" \  -d '{    "name": "OIDC Client for the verifier",    "redirectUris": [      "https://example.com/callback"    ],    "responseTypes": [      "code"    ],    "grantTypes": [      "authorization_code"    ],    "tokenEndpointAuthMethod": "client_secret_post",    "idTokenSignedResponseAlg": "ES256",    "applicationType": "web",    "logoUri": "https://example.com/logo.png"  }'
{
  "id": "da9bb6e4-c9ae-4468-b6ac-72b90d6efd5d",
  "secret": "H2epdcmNJ46hXJo5opdzvhbZK9W2ZGPkQh.E",
  "name": "OIDC Client for the verifier",
  "redirectUris": [
    "https://example.com/callback"
  ],
  "responseTypes": [
    "code"
  ],
  "grantTypes": [
    "authorization_code"
  ],
  "tokenEndpointAuthMethod": "client_secret_post",
  "idTokenSignedResponseAlg": "ES256",
  "applicationType": "web",
  "logoUri": "https://example.com/logo.png"
}
{
  "code": "string",
  "message": "string",
  "details": [
    {
      "value": "string",
      "msg": "Invalid value",
      "param": "id",
      "location": "body"
    }
  ]
}
{
  "code": "string",
  "message": "string",
  "details": [
    {
      "value": "string",
      "msg": "Invalid value",
      "param": "id",
      "location": "body"
    }
  ]
}

How would you rate this page?