Creates a new SSO provider
post
/v1/projects/{ref}/config/auth/sso/providersOAuth scopes
- auth:write
The fine-grained token must include the following permissions to access this endpoint:
- auth_config_write
Path parameters
- refRequiredstring
Project ref
Body
- typeRequiredenum
- metadata_xmlOptionalstring
- metadata_urlOptionalstring
- domainsOptionalArray<string>
- attribute_mappingOptionalobject
- name_id_formatOptionalenum
Response codes
- 201
- 401
- 403
- 404
- 429
Response (201)
{ "id": "lorem", "saml": { "entity_id": "lorem", "metadata_url": "lorem", "metadata_xml": "lorem", "attribute_mapping": { "keys": { "property1": { "name": "lorem", "names": [ "lorem" ], "default": {}, "array": true }, "property2": { "name": "lorem", "names": [ "lorem" ], "default": {}, "array": true } } }, "name_id_format": "urn:oasis:names:tc:SAML:1.1:nameid-format:unspecified" }, "domains": [ { "domain": "lorem", "created_at": "lorem", "updated_at": "lorem" } ], "created_at": "lorem", "updated_at": "lorem"}