---
title: "Check SSO provider for email domain"
method: POST
path: "/sdk/{environmentId}/ssoProvider"
tags: ["SDK"]
---

# Check SSO provider for email domain

`POST /sdk/{environmentId}/ssoProvider`

Check if an email domain has an associated SSO provider configuration. Returns the authentication type (otp or sso) and optionally the provider name.

## Path parameters

- `environmentId` string, required

## Request body

- SsoProviderCheckRequest
  - `email` string, email, required — Email address to check for SSO provider

## Response `200`

SSO provider check response

- SsoProviderCheckResponse
  - `type` 'otp' | 'sso', required — Authentication type for the email domain
  - `provider` string — SSO provider name (only present when type is 'sso')
  - `ssoAuthUrl` string — SSO authentication URL (only present when type is 'sso')
  - `id` string

## Other responses

- `400` — Bad Request
- `500` — Internal Server Error

---

[API](https://skmtc.net/dynamic/apis/dashboard-api.md) · [All operations](https://skmtc.net/dynamic/apis/dashboard-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/dynamic/dashboard-api/versions/aac826315d90/schema)
