Configure an external provider
Configures a new external provider that end-users can authenticate with.
API-KeyX-API-KEY<token>MonoCloud APIs require authentication with an API key. Retrieve your key from the Tenant Settings section of the MonoCloud dashboard and include it in the request header as: X-API-Key: <your_api_key>
Request Body
application/json
The request payload used to configure the external provider.
TypeScript Definitions
Use the request body type in TypeScript.
Create External Provider Request: Used to create an external authenticator.
Response Headers
201
Returns the location header
uriResponse Body
application/json
The external provider was configured successfully
TypeScript Definitions
Use the response body type in TypeScript.
External Provider Response: Represents the configuration of an external authenticator.
Errors
curl -X POST "https://your-domain.us.monocloud.com/api/options/authentication/external" \ -H "X-API-KEY: <token>" \ -H "Content-Type: application/json" \ -d '{ "name": "string", "authenticator": "custom_enterprise" }'{ "name": "string", "authenticator": "custom_enterprise", "display_name": null, "icon": null, "enable_sign_in": true, "enable_sign_up": true, "show_on_login_page": true, "credentials": null, "connection": null, "scopes": [ "string" ], "claim_mappings": { "property1": "string", "property2": "string" }, "authorization_parameters": { "property1": "string", "property2": "string" }, "trust_email": "as_provided", "trust_phone": "as_provided", "sync_user_profile_always": true, "sync_idp_claims_always": true, "home_realm_domains": [ "string" ], "priority": 0}