fossa_update_saml_settings
Overwrite an organization's SAML SSO configuration with new IdP entry point, certificate, and audience to change login access.
Instructions
Replace the organization's SAML single sign-on configuration.
WRITES TO FOSSA. Requires FOSSA_ALLOW_WRITES=true and FOSSA_ALLOW_ADMIN=true.
This is how everyone in the organization logs in. It is a replacement, not a
merge: the three required fields are always sent, so a call with the wrong
entry_point or a stale cert breaks SSO for every user until it is fixed,
and a call that points entry_point at an identity provider someone else
controls hands them the organization. The API documents no endpoint that
reads the current settings back, so there is no way to check what was there
before or to restore it — capture it from the FOSSA web app first.
entry_point is the IdP's SSO URL, cert its X.509 signing certificate in
PEM form, audience the SP entity ID. The role-management fields decide
whether FOSSA or the IdP is authoritative for org roles and teams; leaving
them unset keeps FOSSA authoritative (FOSSA's own default). organization_id
falls back to FOSSA_ORG_ID.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cert | Yes | ||
| audience | Yes | ||
| entry_point | Yes | ||
| organization_id | No | ||
| org_role_management | No | ||
| create_missing_teams | No | ||
| team_role_management | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||