Create external OpenID provider
Adds an external OpenID provider to the organisation. In an authorisation code issuance of a credential definition that names the provider (externalOpenidProviderId, OpenID4VCI 1.0 definitions only), the holder logs in at this provider, and the API exchanges the code with the client ID and the client secret. With claimsGatheringCallbackUri, a deferred issuance gets its claims from that URL.
The client secret is write-only: the response has clientSecretConfigured, never the secret.
Authorizations
AuthorizationstringheaderrequiredYour API key with the prefix
ApiKey:ApiKey <your-api-key>. Get an API key.Scope:
authorization-servers:create
Body
namestringrequiredThe name of the provider. Required.
At most 255 characters.
Example:
"Example Bank login"issuerstringrequiredThe issuer identifier of the provider: an http(s) URL. A trailing
/is removed. Required.At most 2048 characters.
Example:
"https://login.example-bank.com"clientId stringrequiredThe client ID of the issuer at the provider. Required.
At most 255 characters.
Example:
"igrant-issuer"clientSecret stringrequiredThe client secret of the issuer at the provider, for its token endpoint. Required to create a provider. In an update, leave it out (or send an empty text) to keep the stored secret.
At most 4096 characters.
Example:
"<client-secret>"scopesstringThe scopes to ask for at the provider, separated by spaces. The API adds
openidwhen it is missing. Empty or left out:openid profile email.At most 255 characters.
Default:
openid profile emailExample:
"openid profile email"claimsGathering Callback Uri stringAn http(s) URL where the API gets the claims of a deferred issuance. The API calls it with the access token of the holder from the provider as bearer token, and the URL answers
{"claims": {...}},{"interval": <seconds>}(not ready yet) or{"issuanceDenied": true, "issuanceDeniedReason": "..."}. In an update, leave it out (or send an empty text) to remove the stored URL.At most 2048 characters.
Example:
"https://issuer.example-bank.com/claims"
Response
The provider is stored.
oidcProvider objectAn external OpenID provider of the organisation: the OpenID Connect provider where the holder logs in during an authorisation code issuance of a credential definition that names it (
externalOpenidProviderId). The client secret is write-only: the response only says whether one is stored (clientSecretConfigured).