---
title: "Create a new SSO provider for a specific org."
method: POST
path: "/organizations/{organization_id}/sso/providers"
tags: ["SSO"]
---

# Create a new SSO provider for a specific org.

`POST /organizations/{organization_id}/sso/providers`

## Request

- Base URL: `https://api.cloud.crusoe.ai/v1`
- URL: `https://api.cloud.crusoe.ai/v1/organizations/{organization_id}/sso/providers`
- Auth: none declared
- TypeScript: <https://skmtc.dev/crusoecloud/apis/crusoe-cloud-api-gateway/docs/organizations/:organization_id/sso/providers/post.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `organization_id` string, required

## Request body

- CreateSSOProviderRequest
  - `client_id` string, required
  - `email_domains` string[], required
  - `issuer_uri` string, required

## Response `200`

- SSOProvider
  - `client_id` string, required
  - `created_at` string, required
  - `email_domains` string[], required
  - `id` string, required
  - `issuer_uri` string, required
  - `org_id` string, required

## Other responses

- `400`: Error Bad Request
- `403`: Error Permissions
- `404`: Error Not Found
- `500`: Error Internal Server

---

[API](https://skmtc.dev/crusoecloud/apis/crusoe-cloud-api-gateway.md) - [All operations](https://skmtc.dev/crusoecloud/apis/crusoe-cloud-api-gateway/llms.txt) - [OpenAPI document](https://skmtc.dev/crusoecloud/apis/crusoe-cloud-api-gateway/revisions/a3fd2dedc72b?raw)
