sso:manage (owner, admin, security) and a verified account.sso:manage, are re-linked by their confirmed address at adomains are the email domains whose people join the team on firstdefaultRole. Each is a claim, pending until thePOST
/teams/{teamId}/sso/domains/{domain}/verify); a pending claim admitsenforced refuses members'enabled.sso:manage (area team).curl --location --request PUT 'https://api.prod-orm.io/teams//sso' \
--header 'Content-Type: application/json' \
--data '{
"issuer": "http://example.com",
"clientId": "string",
"clientSecret": "string",
"domains": [
"string"
],
"defaultRole": "string",
"enabled": true,
"enforced": true
}'{
"sso": {
"id": 0,
"teamId": 0,
"provider": "oidc",
"issuer": "http://example.com",
"clientId": "string",
"hasSecret": true,
"endpoints": {
"authorization": "http://example.com",
"token": "http://example.com",
"userinfo": "http://example.com",
"fetchedAt": "2019-08-24T14:15:22.123Z"
},
"domains": [
"string"
],
"defaultRole": "string",
"enabled": true,
"enforced": true,
"createdAt": "2019-08-24T14:15:22.123Z",
"updatedAt": "2019-08-24T14:15:22.123Z",
"domainClaims": [
{
"domain": "example.com",
"state": "pending",
"challenge": {
"type": "TXT",
"name": "_prorm-challenge.example.com",
"value": "prorm-domain-verification=4f1c…"
},
"verifiedAt": "2019-08-24T14:15:22.123Z",
"lastCheckedAt": "2019-08-24T14:15:22.123Z",
"lastError": "string"
}
]
},
"callbackUrl": "http://example.com",
"startUrl": "http://example.com"
}