Skip to content

Test an SSO connection

POST
/api/v1/team/sso/connections/{id}/test
curl --request POST \
--url https://api.deploybase.eu/api/v1/api/v1/team/sso/connections/example/test \
--header 'Authorization: <Authorization>'

Re-fetches the STORED issuer’s discovery document and reads the provider back from Zitadel, then reports a pass/fail line per check: issuer_reachable, issuer_matches, metadata_complete, pkce_s256_advertised (fails when the provider lists its PKCE methods and S256 is not among them; passes with a note when it lists none), id_token_alg_supported, token_auth_supported, zitadel_provider_exists, zitadel_issuer_in_sync, zitadel_client_id_in_sync. A failing connection is still a 200 with ok=false — the checks are the answer. Nothing is written. Team admin or owner.

id
required
string

Connection UUID

OK

Media type application/json
object
data
meta
object
request_id
string
timestamp
string
trace_id
string
data
object
checks
Array<object>
object
detail
string
name
string
passed
boolean
ok
boolean
warnings
Array<object>
object
code
string
docs_url
string
message
string
Example generated
{
"data": {
"checks": [
{
"detail": "example",
"name": "example",
"passed": true
}
],
"ok": true,
"warnings": [
{
"code": "example",
"docs_url": "example",
"message": "example"
}
]
},
"meta": {
"request_id": "example",
"timestamp": "example",
"trace_id": "example"
}
}

Bad Request

Media type application/json
object
code
string
details
error
string
meta
object
request_id
string
timestamp
string
trace_id
string
Example generated
{
"code": "example",
"details": "example",
"error": "example",
"meta": {
"request_id": "example",
"timestamp": "example",
"trace_id": "example"
}
}

Unauthorized

Media type application/json
object
code
string
details
error
string
meta
object
request_id
string
timestamp
string
trace_id
string
Example generated
{
"code": "example",
"details": "example",
"error": "example",
"meta": {
"request_id": "example",
"timestamp": "example",
"trace_id": "example"
}
}

Forbidden

Media type application/json
object
code
string
details
error
string
meta
object
request_id
string
timestamp
string
trace_id
string
Example generated
{
"code": "example",
"details": "example",
"error": "example",
"meta": {
"request_id": "example",
"timestamp": "example",
"trace_id": "example"
}
}

Not Found

Media type application/json
object
code
string
details
error
string
meta
object
request_id
string
timestamp
string
trace_id
string
Example generated
{
"code": "example",
"details": "example",
"error": "example",
"meta": {
"request_id": "example",
"timestamp": "example",
"trace_id": "example"
}
}

SSO_PROVIDER_ERROR

Media type application/json
object
code
string
details
error
string
meta
object
request_id
string
timestamp
string
trace_id
string
Example generated
{
"code": "example",
"details": "example",
"error": "example",
"meta": {
"request_id": "example",
"timestamp": "example",
"trace_id": "example"
}
}

SSO_NOT_CONFIGURED

Media type application/json
object
code
string
details
error
string
meta
object
request_id
string
timestamp
string
trace_id
string
Example generated
{
"code": "example",
"details": "example",
"error": "example",
"meta": {
"request_id": "example",
"timestamp": "example",
"trace_id": "example"
}
}