light-mode-image
Learn
API ReferenceAuthentication provider

Configure an Authentication Provider

Roles

adminissuermanaged-issuer

Analytics Events

USER_AUTHENTICATION_PROVIDER_CREATE_STARTUSER_AUTHENTICATION_PROVIDER_CREATE_SUCCESSUSER_AUTHENTICATION_PROVIDER_CREATE_FAIL
POST/v1/users/authentication-providers

Configures an Authentication Provider on the tenant.

An authentication or identity provider (IdP) is a platform that is typically used to store and manage user accounts on behalf of an organization or a service provider. MATTR VII uses the authentication provider to authenticate end users before issuing them credentials.

The /.well-known/openid-configuration endpoint of the Authentication Provider must contain values for the authorization_endpoint, token_endpoint and scopes_supported.

Analytic events

  • USER_AUTHENTICATION_PROVIDER_CREATE_START
  • USER_AUTHENTICATION_PROVIDER_CREATE_SUCCESS
  • USER_AUTHENTICATION_PROVIDER_CREATE_FAIL

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Request Body

application/json

The Authentication Provider payload

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

curl -X POST "https://example.com/v1/users/authentication-providers" \  -H "Content-Type: application/json" \  -d '{    "clientId": "string"  }'
{  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",  "redirectUrl": "http://example.com",  "url": "http://example.com",  "scope": [    "openid",    "profile",    "email"  ],  "clientId": "string",  "tokenEndpointAuthMethod": "client_secret_basic",  "staticRequestParameters": {    "property1": "string",    "property2": "string"  },  "forwardedRequestParameters": [],  "claimsToPersist": [],  "clientSecret": "string"}

How would you rate this page?