Skip to content

The organization's single sign-on and its email domains

GET
/org/sso
curl --request GET \
--url https://api.global.stillbox.example/v1/org/sso \
--header 'Authorization: Bearer <token>'

The setting

Media typeapplication/json
object
configured
required
boolean
protocol
required
string
default: oidc
Allowed values: oidc saml
saml
required

What to give the identity provider, and what its metadata says.

object
sp_entity_id
required

Our entity ID (audience) to register at the identity provider.

string
acs_url
required

Our assertion consumer service (reply URL)

string
sp_metadata_url
required

Our metadata

string
idp_entity_id
string
idp_sso_url
string
idp_cert_expires_at

When the identity provider’s signing certificate expires.

string format: date-time
metadata_url

Where the identity provider’s metadata was read from.

string
issuer
string
client_id
string
secret_set
required

Whether a client secret is kept; it is never shown.

boolean
enabled
required
boolean
enforced
required
boolean
default_role
required
string
Allowed values: member auditor
redirect_uri
required

Register this as the app’s redirect address at the identity provider.

string
domains
required
Array<object>
object
domain
required
string
verified
required
boolean
verified_at
string format: date-time
record_name
required

The TXT record to add, e.g. _stillbox-verification.acme.com.

string
record_value
required
string
updated_at
string format: date-time
secrets_ready
required
boolean

Example

{
"protocol": "oidc",
"default_role": "member"
}

The API key is missing or invalid

Media typeapplication/json
object
code
required
string
message
required
string

Example

{
"code": "not_found"
}

Only an owner can do this (owner_only), or the invitation is for another address (not_invited)

Media typeapplication/json
object
code
required
string
message
required
string

Example

{
"code": "not_found"
}