FruxonDocs
ApiSingle sign on

Saves a new configuration of the identity provider from its SAML metadata.

Give the metadata document itself, or the https URL that serves it; the URL is fetched once, now. The revision goes to the test configuration only: people keep signing in with the live one until this revision passes a test sign-in and is promoted.

POST
/v1/tenants/{tenant}/ssoConnection/revisions
AuthorizationBearer <token>

JWT Authorization header using the Bearer scheme. Enter 'Bearer' [space] and then your token.

In: header

Path Parameters

tenant*string

The tenant identifier

The metadata, as XML or a URL.

metadataXml?string|null

The IdP app's SAML metadata document.

metadataUrl?string|null

An https URL serving that document, for example Okta's "Metadata URL".

[key: string]?never

Response Body

curl -X POST "https://api.fruxon.com/v1/tenants/string/ssoConnection/revisions" \  -H "Content-Type: application/json" \  -d '{}'
{
  "revision": 0,
  "idpEntityId": "string",
  "ssoUrl": "string",
  "certificates": [
    {
      "sha256Fingerprint": "string",
      "subject": "string",
      "notAfter": 0
    }
  ],
  "metadataUrl": "string",
  "createdBy": "string",
  "createdAt": 0
}
{
  "type": "string",
  "title": "string",
  "status": 0,
  "detail": "string",
  "instance": "string",
  "property1": null,
  "property2": null
}
Empty
{
  "type": "string",
  "title": "string",
  "status": 0,
  "detail": "string",
  "instance": "string",
  "property1": null,
  "property2": null
}
{
  "type": "string",
  "title": "string",
  "status": 0,
  "detail": "string",
  "instance": "string",
  "property1": null,
  "property2": null
}
{
  "type": "string",
  "title": "string",
  "status": 0,
  "detail": "string",
  "instance": "string",
  "property1": null,
  "property2": null
}