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
const url = 'https://api.replifier.com/v1/orgs/org_01hx0000000000000000000000/sso';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://api.replifier.com/v1/orgs/org_01hx0000000000000000000000/ssoParameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”org
required
string
Example
org_01hx0000000000000000000000Responses
Section titled “Responses”Connection or null
Media typeapplication/json
object
connection
required
object
id
required
string
protocol
required
string
name
required
string
status
required
string
defaultRole
required
Role given to someone provisioned on first sign-in (never owner). member sees all brands as a viewer.
string
enforced
required
Members on the verified domains can only sign in through SSO.
boolean
lastLoginAt
required
string
config
required
Public part of the configuration (never the client secret).
object
key
additional properties
hasClientSecret
required
boolean
domains
required
Array<object>
object
domain
required
string
verified
required
boolean
verifiedAt
required
string
verification
required
DNS record that proves the domain belongs to the organization.
object
recordType
required
string
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
acsUrl
required
string
redirectUri
required
string
metadataUrl
required
string
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" }}