Get SSO availability REST API
GET
/api/auth/sso
const url = 'http://127.0.0.1:25737/api/auth/sso';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url http://127.0.0.1:25737/api/auth/ssoReturns whether at least one team has an enabled SSO configuration. This controls whether the public login page offers SSO; it does not reveal team or provider details.
Responses
Section titled “Responses”SSO availability
Media typeapplication/json
object
enabled
required
boolean
Examplegenerated
{ "enabled": true}