Skip to content

Reveal the stored client secret

POST
/api/settings/sso/client-secret/reveal
curl --request POST \
--url https://forge.example.com/api/settings/sso/client-secret/reveal \
--header 'Authorization: Bearer <token>'

For an administrator who confirmed it is them, with a code or a passkey, in the last 10 minutes; otherwise 409 with stepUpNeeded. Each reveal is recorded in the activity log before the secret is opened. Never cached. 404 when no secret is stored.

OK

Media typeapplication/json
object
value
required
string
revealedAt
required
string format: date-time

Example generated

{
"value": "example",
"revealedAt": "2026-04-15T12:00:00Z"
}

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