Skip to main content
OpenID Connect Client

Update OIDC client

PUT/v4/config/platform/extension/oidc/client/{clientId}

Changes an OpenID Connect client of Passwordless Login. Send only the fields to change: for example new redirect URIs, another presentation definition, or a switch from callbackURI to identityMatchingAttributes. Lists replace the old lists.

The answer holds the client with its secrets. You cannot update a system-managed client. The Passwordless Login (oidc) extension must be on.

Authorizations

  • Authorizationstringheaderrequired

    Your API key with the prefix ApiKey: ApiKey <your-api-key>. Get an API key.

    Scope:extensions:update

Path parameters

  • clientIdstringrequired

    The client ID, from the create or the list call.

Body

application/json
  • namestring

    The name of the client.

  • presentationDefinitionIdstring

    A new presentation definition. It cannot be empty or belong to another client, and the same rules as at creation apply. The provider checks it with the identity matching attributes and the transaction data action of the client.

  • redirectURIsstring[]

    The new redirect URIs. They replace the old list.

  • allowedOriginsstring[]

    The new web origins. They replace the old list.

  • identityMatchingAttributesobject

    The claim that becomes the sub, for each credential (see create). Setting it removes callbackURI and callbackSecret from the client.

  • callbackURIstring

    An HTTPS endpoint of yours that resolves the sub (see create). Setting it removes identityMatchingAttributes from the client.

  • callbackSecretstring

    The secret that the provider sends to callbackURI. It cannot be empty while the client has a callback.

  • transactionDataActionstring

    The text that the EUDI Wallet shows about the login, at most 140 characters. Send an empty string when the presentation definition has no transaction data.

    At most 140 characters.

    Example:"Log in to your online bank account"

Response

application/json

The client after the update.

Headers

  • Cache-Controlstring

    The answer holds secrets. Do not cache it.

    Example:"no-store"

  • clientobject

    An OpenID Connect client of Passwordless Login. The answer holds both secrets in clear text.