Skip to content

Configure OpenID Connect authentication settings for an identity provider

Request

Requires identity-providers::modify permission.

Security
JWTAuthorizer
Path
idpIDstringrequired

IDP ID

Bodyapplication/json

OpenID config

authEndpointstring

Auth endpoint

Example:"https://your-endpoint-url"
clientIdstring

Client ID

Example:"some-client-id"
issuerstring

Issuer

Example:"https://your-issuer-url"
secretstring

Client secret

Example:"some-client-secret"
tokenEndpointstring

Token endpoint

Example:"https://your-token-url"
userInfoEndpointstring

User info endpoint

Example:"https://your-user-info-url"
curl -i -X PUT \
  'https://apidocs.trustgrid.io/_mock/v2/idp/openid/{idpID}' \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "authEndpoint": "https://your-endpoint-url",
    "clientId": "some-client-id",
    "issuer": "https://your-issuer-url",
    "secret": "some-client-secret",
    "tokenEndpoint": "https://your-token-url",
    "userInfoEndpoint": "https://your-user-info-url"
  }'

Responses

OK

Response
No content