SSO & API authentication — dashboard federation and system-to-system credentials.
Authentication for Layerup AI Agent deployments covers two distinct access patterns with different mechanisms:- Human users accessing the companion dashboard — authenticated via your corporate identity provider using SAML 2.0 or OIDC
- Systems (your workflow platform, policy admin system) making API calls to submit cases and retrieve output — authenticated via OAuth 2.0 client credentials
Microsoft Entra ID
Step-by-step OIDC and SAML setup for Microsoft Entra ID (Azure AD),
including group claims configuration and multi-environment guidance.
Okta
Step-by-step OIDC and SAML setup for Okta, including group claims and
application assignment configuration.
PingFederate
Step-by-step SAML 2.0 setup for PingFederate, including SP connection
configuration and attribute contract mapping.
Part 1 — Human user authentication (dashboard SSO)
How it works
The companion dashboard delegates authentication entirely to your corporate identity provider. The dashboard never stores credentials or passwords. On first access, users are redirected to your IdP login page; after authentication, a signed assertion is returned to the dashboard which establishes the user’s session and role. Fig. A8.1 — SSO authentication flow. The dashboard acts as SAML Service Provider or OIDC Relying Party. Credentials never leave your identity provider.Supported protocols and identity providers
Required claims and attribute mapping
Your IdP must include the following attributes in the SAML assertion or OIDC ID token:Role assignment — per-agent model
The dashboard enforces roles at the per-agent level. Each deployed workflow agent carries its own pair of roles: asubmitter role and a reviewer role scoped exclusively to that agent’s cases. Role assignment is driven by IdP group membership claims — no manual user management is required in the dashboard itself.
Role naming convention:
Examples across active agents:
A user may belong to multiple groups and will receive the combined permissions across all mapped agents. Users with no matching group membership are denied access at the ALB layer before reaching the dashboard application.
When a new agent is activated in your deployment, your Layerup implementation
engineer provides the two new IdP group names for that agent (
{agent - slug} -submitters and {agent - slug}-reviewers). Your IdP administrator creates
those groups, assigns the appropriate users, and maps them in the Layerup
application registration. No changes to the dashboard container or the agent
container are required — permission expansion is purely an IdP configuration
change.
Layerup provisions a separate application registration per environment in your IdP, each mapped to its own set of environment-prefixed groups.
Configuration process
For Option 2 (your private cloud)
Your team configures SSO directly on the ALB listener in your AWS account. The ALB’s built-in OIDC and SAML authentication features handle the SSO redirect and assertion validation natively — no additional software is required.- Your Layerup implementation engineer provides the SP Entity ID and Assertion Consumer Service (ACS) URL for the dashboard
- Your IdP administrator creates an application entry for the Layerup dashboard using these values
- Your IdP administrator configures the group claims to map to
layerup-submittersandlayerup-reviewers(or your equivalent group names) - Your AWS team configures the ALB listener rule with your IdP’s OIDC discovery URL or SAML metadata URL
- Layerup validates the SSO flow in the staging environment before go-live
For Option 3 (Layerup’s Cloud)
Layerup configures SSO on the ALB in Layerup’s dedicated cluster. Your team provides:- Your IdP’s SAML metadata URL (for SAML 2.0) or OIDC discovery document URL (for OIDC)
- The group names or OIDs that map to
submitterandreviewerroles in your directory
The dashboard session token (issued after successful SSO) has a configurable
TTL, defaulting to 8 hours. Sessions are invalidated immediately when a user
is removed from the IdP group — no manual session revocation is required.
Part 2 — System-to-system authentication (API)
Overview
Machine-to-machine integration — your workflow system submitting cases and consuming output — uses OAuth 2.0 client credentials. No user is involved in this flow. Your system authenticates directly with a client ID and client secret to obtain a short-lived access token, then presents that token on every API call. Fig. A8.2 — OAuth 2.0 client credentials flow. Your system exchanges a client ID and secret for a short-lived access token, then uses that token to authenticate every API call. Tokens expire after 1 hour and are automatically renewed.Token request
https://your-org.auth.uselayerup.com/.well-known/jwks.json) before trusting any token for internal routing decisions.
API scopes
Credentials are issued per integration. If your organization has multiple systems that should have independent access — for example, separate credentials for a contents valuation workbench and a dental claims submission system — Layerup issues separate client ID/secret pairs with independent scope assignments.

