cURL
curl --request GET \ --url https://api.example.com/api/sso/orgs/{orgId}/config \ --cookie better-auth.session_token=
{ "id": "<string>", "organizationId": "<string>", "provider": "azure_ad", "clientId": "<string>", "discoveryUrl": "<string>", "emailDomains": [ "<string>" ], "enabled": true, "hasSecret": true, "createdAt": "<string>", "updatedAt": "<string>", "tenantId": "<string>" }
Returns the OIDC configuration for an organization.
Default Response
azure_ad
Was this page helpful?