---
title: "Create SSO config"
method: POST
path: "/ssoconfig"
tags: ["ssoconfig"]
---

# Create SSO config

`POST /ssoconfig`

Create SSO config. POST will throw SSOConfigCreateConstraintError if SSOConfig already exists.

## Request body

- object — Configuration parameters to enable SSO in Refocus.
  - `samlEntryPoint` string, required — Identity Provider endpoint.
  - `samlIssuer` string, required — Issuer string to supply to Identity Provider.

## Response `201`

Returns created SSO Config

- SSOConfigResponse — SSO Configuration parameters used to enable SSO in Refocus.
  - `id` string
  - `samlEntryPoint` string — Required SAML Identity Provider entry point.
  - `samlIssuer` string — Required issuer string to supply to identity provider.
  - `createdBy` string — TODO
  - `createdAt` string — TODO
  - `updatedAt` string — TODO
  - `apiLinks` HATEOAS[] — Hypertext As The Engine Of Application State.
    - `href` string, required — URL of the related HATEOAS link you can use for subsequent calls.
    - `rel` string, required — Link relation that describes how this link relates to the previous call.
    - `method` string, required — The HTTP method required for the related call.

## Other responses

- `400` — Bad Request
- `403` — Forbidden
- `default` — Error

---

[API](https://skmtc.dev/salesforce/apis/refocus-api.md) · [All operations](https://skmtc.dev/salesforce/apis/refocus-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/salesforce/refocus-api/revisions/42c2153b047e/schema)
