Skip to content

SSO connection of the organization with its domains and what to register in the IdP (org.manage). Dashboard session only

GET
/v1/orgs/{org}/sso
curl --request GET \
--url https://api.replifier.com/v1/orgs/org_01hx0000000000000000000000/sso
org
required
string
/^org_[a-z0-9]{26}$/

Example

org_01hx0000000000000000000000

Connection or null

Media typeapplication/json
object
connection
required
object
id
required
string
protocol
required
string
Allowed values: oidc saml
name
required
string
status
required
string
Allowed values: active disabled
defaultRole
required

Role given to someone provisioned on first sign-in (never owner). member sees all brands as a viewer.

string
Allowed values: admin member
enforced
required

Members on the verified domains can only sign in through SSO.

boolean
lastLoginAt
required
string
nullable
config
required

Public part of the configuration (never the client secret).

object
key
additional properties
nullable
hasClientSecret
required
boolean
domains
required
Array<object>
object
domain
required
string
verified
required
boolean
verifiedAt
required
string
nullable
verification
required

DNS record that proves the domain belongs to the organization.

object
recordType
required
string
Allowed values: TXT
recordName
required
string
recordValue
required
string
serviceProvider
required

What to register in the IdP: redirectUri (OIDC) or entityId and acsUrl (SAML).

object
entityId
required
string
nullable
acsUrl
required
string
nullable
redirectUri
required
string
nullable
metadataUrl
required
string
nullable

Example

{
"connection": {
"protocol": "oidc",
"status": "active",
"defaultRole": "admin",
"domains": [
{
"verification": {
"recordType": "TXT"
}
}
]
}
}

No session, expired session, or invalid, expired or revoked API key

Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
cause
required
string
fix
required
string
requestId
required
string

Example

{
"error": {
"code": "not_found"
}
}

Not allowed, API key missing the scope, IP not allowed, or request rejected (csrf_rejected)

Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
cause
required
string
fix
required
string
requestId
required
string

Example

{
"error": {
"code": "not_found"
}
}

Does not exist or is not visible to you

Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
cause
required
string
fix
required
string
requestId
required
string

Example

{
"error": {
"code": "not_found"
}
}

Internal error

Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
cause
required
string
fix
required
string
requestId
required
string

Example

{
"error": {
"code": "not_found"
}
}