Gamma API
AuthenticationSingle sign-on

Update an identity provider

POST
/api/auth/sso/update-provider

Partially update an SSO provider. Only provided fields are updated. If domain changes, domainVerified is reset to false.

Authorization

session
cookiegamma.session_token<token>

The session cookie a sign-in sets. Over HTTPS its name carries the __Secure- prefix. Browsers send it on their own; other clients keep it from the sign-in response.

Request Body

application/json
  1. body
issuer?string
domain?string
oidcConfig?
samlConfig?
providerId*string

Response Body

SSO provider updated successfully. The certificate field is an array of parsed certificates for SAML providers, or absent when certs live inside idpMetadata.metadata.

Example Request
curl -X POST 'http://localhost:3000/api/auth/sso/update-provider' \  -H 'Content-Type: application/json' \  -d '{  "providerId": "string"}'
Example Response
Empty