auth-connection

Dev Org Auth Connections Create

POST
Creates a new enterprise authentication connection for a Dev organization. This authentication connection will not be enabled by default for the organization and the user will need to explicitly enable this. Keep in mind that at a time, only one authentication connection can be enabled for a Dev organization. At present, only 5 enterprise connections can be created by an organization.

Request

This endpoint expects a union.
Google Apps
OR
Oidc
OR
Samlp
OR
Waad

Response

This endpoint returns an object
auth_connection
union
Connection object that specifies the configuration for an authentication connection that is set up for a Dev organization.
POST
1curl -X POST https://api.devrev.ai/dev-orgs.auth-connections.create \
2 -H "Authorization: <apiKey>" \
3 -H "Content-Type: application/json" \
4 -d '{
5 "type": "google_apps"
6}'
200Successful
1{
2 "auth_connection": {
3 "type": "google_apps",
4 "id": "string",
5 "client_id": "string",
6 "client_secret": "string",
7 "display_name": "string",
8 "enabled": true,
9 "tenant_domain": "string"
10 }
11}