SCIM provisioning and SAML single sign-on
SyAuth supports two complementary enterprise identity workflows: SCIM provisioning for user/group lifecycle and SAML single sign-on to registered service providers. Workspace-scoped provisioning tokens and registered SAML application settings connect these workflows to the intended identity configuration. Use SCIM to synchronize supported records and SAML to carry sign-in assertions to a connected application.
Check the supported protocol subset and compatibility against your provider's requirements. The sections below explain each protocol's role, configuration and validation steps.
These are optional integrations for an organization's identity administrator and application developer. They are not required for the first hosted-login test.
- SCIM keeps users and groups synchronized through provisioning requests from another identity system.
- SAML SSO lets users sign in to a connected application through an identity provider. In the flow documented here, SyAuth is the identity provider, and the other application is the service provider.
Both require configuration on two sides. Saving a token or provider entry in SyAuth is only one side of the setup.
SCIM provisioning
Open SCIM, select a workspace and create a token. Copy it once. Configure your identity provider with base URL https://api.syauth.com/e/v1/scim/v2 and Bearer token authentication. Use the exact Users/Groups paths without trailing slashes.
Test a single user and group before enabling wider provisioning. User creation requires userName to be a valid email address, sets active by default, and marks provisioned email verified. An emails entry does not override userName. Group members must belong to the token's workspace. The optional externalId is persisted separately from the SyAuth resource ID for users and groups; use the SyAuth id in resource URLs and memberships.
Supported PATCH fields include userName, name.givenName, name.familyName, active and externalId for users, and displayName, members and externalId for groups. Arbitrary attribute paths and custom schemas are not supported. Password provisioning, bulk operations, sorting and ETags are not available. Provisioned users have no usable password; SCIM creation alone does not enable password login.
Use PATCH for a partial change. User PUT requires userName, clears omitted names and externalId, and preserves the current active state when active is omitted. Group PUT requires displayName, clears omitted externalId, and removes memberships when members is omitted.
User DELETE deactivates the retained account, removes its group memberships and hides the resource from SCIM reads/lists. Its original userName becomes available for a newly provisioned resource. Setting active: false through PATCH preserves the resource for later reactivation; deleting it does not. Group DELETE removes the group.
Send application/scim+json or application/json for write requests. Responses use application/scim+json, and resource locations retain the /e/v1 prefix. Protocol calls use the live workspace SCIM Bearer token without a dashboard session; the workspace and its owner's plan must be active. See the SCIM API for exact requests and supported capabilities.
To check setup, ask the identity administrator to provision one test user, read it back and update it, then check the result in the intended SyAuth workspace. If the first request fails, keep its exact endpoint, status and body and check the token's workspace and feature-availability note before enabling wider synchronization.
SAML SSO
SyAuth acts as the identity provider. In SAML settings, register your service provider with its name, Entity ID and Assertion Consumer Service (ACS) URL. Configure NameID, attributes and assertion signing to match the SP.
Get the Entity ID (the application's SAML identifier) and ACS URL (where it receives the login result) from that application's SAML administrator or configuration screen. These are not your OAuth client ID and OAuth callback URL. Copy the values exactly rather than inventing them.
Import metadata from https://api.syauth.com/e/v1/saml/metadata/ into the SP. Use the entity ID, signing certificate and SSO endpoint from that metadata. If metadata is unavailable, resolve feature availability with support before continuing.
The SP sends SAMLRequest; SyAuth signs in the application user and posts SAMLResponse to the registered ACS. Test the full browser round trip, attribute mapping and rejection of invalid responses. See SAML operations.
Start the test with the connected application's SAML sign-in action. The expected journey is that application → SyAuth sign-in → the application's ACS → an authenticated application session. Opening the metadata URL alone only reads configuration. If the return fails, check the ACS/Entity ID and assertion-validation error with the application's administrator.
Signed requests and Single Logout
Paste the application's signing certificate (PEM) in its SAML settings when the application signs its requests. SyAuth then verifies every signed sign-in request against it and rejects a wrong signature. Turn on Require signed sign-in requests to also reject unsigned ones.
For Single Logout, also enter the application's Single Logout URL (the certificate is required). SyAuth's metadata lists the logout endpoint https://api.syauth.com/e/v1/saml/slo/ (HTTP-Redirect and HTTP-POST). When a user signs out of one application:
- The application sends a
LogoutRequestsigned with its certificate. - SyAuth ends the user's SyAuth session, then sends a signed
LogoutRequestto each other application the user reached through that session and that has a Single Logout URL, one at a time, through the browser. - SyAuth answers the first application with a signed
LogoutResponseto its Single Logout URL.
SyAuth sends its own logout messages with the HTTP-Redirect binding, signed with RSA-SHA256. An application that does not answer stops the chain there; the SyAuth session is already ended. Signing out of SyAuth itself does not notify the applications. To test, sign in to two applications, sign out of one, and check that the second asks for sign-in again.