Skip to content

Get the single sign-on settings

GET
/api/settings/sso
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.

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
One of:
null
version
integer | string format: int32
/^-?(?:0|[1-9]\d*)$/

Example

{
"clientSecretProtection": {
"revealable": false
}
}

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"
}