Update OIDC client
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
AuthorizationstringheaderrequiredYour API key with the prefix
ApiKey:ApiKey <your-api-key>. Get an API key.Scope:
extensions:update
Path parameters
clientId stringrequiredThe client ID, from the create or the list call.
Body
namestringThe name of the client.
presentationDefinition Id stringA 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.
redirectURIs string[]The new redirect URIs. They replace the old list.
allowedOrigins string[]The new web origins. They replace the old list.
identityMatching Attributes objectThe claim that becomes the
sub, for each credential (see create). Setting it removescallbackURIandcallbackSecretfrom the client.callbackURI stringAn HTTPS endpoint of yours that resolves the
sub(see create). Setting it removesidentityMatchingAttributesfrom the client.callbackSecret stringThe secret that the provider sends to
callbackURI. It cannot be empty while the client has a callback.transactionData Action stringThe 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
The client after the update.
Headers
Cache-Control stringThe answer holds secrets. Do not cache it.
Example:
"no-store"
clientobjectAn OpenID Connect client of Passwordless Login. The answer holds both secrets in clear text.