Skip to main content
GET
/
auth
/
enterprise
Get enterprise login URL
curl --request GET \
  --url https://api.diversion.dev/v0/auth/enterprise
{
  "login_url": "<string>",
  "provider_name": "<string>",
  "api_url": "<string>",
  "auth_url": "<string>",
  "user_pool_client_id": "<string>",
  "ci_user_pool_client_id": "<string>",
  "user_pool_id": "<string>",
  "user_pool_region": "<string>"
}

Query Parameters

org_slug
string
required

Organization slug (lowercase alphanumeric and hyphens)

Required string length: 1 - 128

Response

Enterprise login URL found

Response containing enterprise login information

login_url
string<uri>
required

URL to redirect user for enterprise login

provider_name
string

The name of the SAML provider to use for enterprise login, if it supports Amplify. If provided, this should be preferred over the login_url.

api_url
string<string>

The API URL to use after we authenticate with the SAML provider.

auth_url
string<string>

The authentication/identity service URL (e.g. Cognito/authorization domain).

user_pool_client_id
string

The user pool client ID to use for authentication.

ci_user_pool_client_id
string

User pool client ID for CLI authentication.

user_pool_id
string

The user pool ID to use for authentication.

user_pool_region
string

The AWS region where the user pool is located.