Operator SSO (OIDC)
ToolPause supports OpenID Connect Authorization Code + PKCE for operator login.
Configure
export ACTIONGATE_OIDC_ISSUER=https://your-idp.example.com
export ACTIONGATE_OIDC_CLIENT_ID=...
export ACTIONGATE_OIDC_CLIENT_SECRET=... # optional for public clients
export ACTIONGATE_OIDC_REDIRECT_URI=https://your-toolpause-host/v1/auth/oidc/callback
Optional: scopes, role claim, and default role via ACTIONGATE_OIDC_SCOPES, ACTIONGATE_OIDC_ROLE_CLAIM, and ACTIONGATE_OIDC_DEFAULT_ROLE.
Register the redirect URI on your IdP (Okta, Auth0, Keycloak, Entra, Google, and similar).
When OIDC is configured, auth is required and the UI shows Sign in with SSO.
Flow
- Browser →
GET /v1/auth/oidc/login→ IdP - IdP → callback with
code+state - Server exchanges the code, upserts the user, and creates a session
- Browser stores the session and opens Inbox
Username comes from email (or preferred username / subject).
Role comes from the configured role claim when present; otherwise the default role.