Test team SSO connection REST API
POST
/api/user/teams/{id}/sso/test
const url = 'http://127.0.0.1:25737/api/user/teams/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/sso/test';const options = {method: 'POST', headers: {cookie: 'hk_token=<hk_token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url http://127.0.0.1:25737/api/user/teams/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/sso/test \ --cookie hk_token=<hk_token>Decrypts the saved client secret in memory and validates that the configured OIDC discovery document remains reachable. Secrets and provider response bodies are not returned.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”id
required
string format: uuid
Responses
Section titled “Responses”Connection test status
Media typeapplication/json
object
message
string
status
string
Examplegenerated
{ "message": "example", "status": "example"}Team settings permission or SSO entitlement required
Media typeapplication/json
object
message
string
Examplegenerated
{ "message": "example"}SSO configuration not found
Media typeapplication/json
object
message
string
Examplegenerated
{ "message": "example"}OIDC discovery failed
Media typeapplication/json
object
message
string
Examplegenerated
{ "message": "example"}