AccelerUpDocs
Security/SSO and enterprise

SSO and enterprise

SAML, OIDC, SCIM provisioning and IP allowlisting.

Security → Enterprise holds identity and access features for larger deployments.

Single sign-on

SAML 2.0 and OIDC.

Endpoints/api/v1/auth/sso and /sso/callback
Rate limitIts own bucket, separate from login
Role mappingGroup or attribute → AccelerUp role
Important

Role mapping writes users.role, which is the role that is actually enforced — and it travels in the JWT. A role change through SSO therefore has to invalidate existing sessions, the same as one made by hand. See Roles.

SCIM 2.0

Provisioning and deprovisioning from your identity provider.

Base/scim/v2
AuthA token with the admin scope
CookiesNone — machine-to-machine, so no CSRF protection applies

Deprovisioning is the valuable half. A leaver removed in the identity provider is removed here, which is exactly the thing that is otherwise forgotten.

IP allowlisting

Restrict API access to a set of CIDRs. Applied after authentication — an allowlisted address still needs a valid token.

Caution

Test from outside your network before enabling it, and keep a break-glass path. An allowlist that excludes your own admins is a lockout you cannot fix from the interface.

Two-factor enforcement

2FA can be required organisation-wide. Members without it must enrol before they can do anything else.

Session invalidation

Any role or membership change must call RegisterUserLogout. This applies to SSO and SCIM changes as much as to manual ones — otherwise a demoted or removed user keeps working until their token expires.

Where this behaviour lives: backend/internal/handler/sso_handler.go, backend/internal/handler/enterprise_handler.go. If the code and this page disagree, the code is right — please fix the page.

Part of SecurityVulnerabilities, compliance, hardening and enterprise identity.