Get the single sign-on settings
GET
/api/settings/sso
const url = 'https://forge.example.com/api/settings/sso';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
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://forge.example.com/api/settings/sso \ --header 'Authorization: Bearer <token>'The stored client secret is not sent back: only how it is kept, under which of the organization’s key versions, and its last four characters. For administrators.
Authorizations
Section titled “Authorizations”Responses
Section titled “Responses”OK
Media typeapplication/json
object
kind
required
string
issuer
required
string
clientId
required
string
hasClientSecret
required
boolean
tenantId
required
null | string
jit
required
boolean
defaultRole
required
string
enabled
required
boolean
domains
required
Array<string>
redirectUri
required
string
groupsClaim
null | string
secondStepValues
null | string
clientSecretProtection
version
integer | string format: int32
Example
{ "clientSecretProtection": { "revealable": false }}default
Section titled “default”A refusal or an error, as a problem document. A model or draft you may not see answers 404, as one that does not exist.
Media typeapplication/problem+json
object
type
string
title
string
status
integer
detail
string
instance
string
Example generated
{ "type": "example", "title": "example", "status": 1, "detail": "example", "instance": "example"}