🔐

OIDC & SAML

Available

Enterprise single sign-on with OpenID Connect and SAML 2.0. Integrate with your identity provider for secure, centralized authentication.

What you can do

Single Sign-On with your IdP
Support for OIDC and SAML 2.0
Automatic user provisioning (SCIM)
Group-based role mapping
Just-in-time user creation
Multi-provider support

Setup Instructions

1

Choose your protocol

Decide whether to use OIDC (recommended for most providers) or SAML 2.0 (for legacy enterprise systems).

2

Configure your Identity Provider

Add tapioca as an application in your IdP (Okta, Azure AD, Google Workspace, etc.). Use the callback URLs from tapioca settings.

OIDC Callback: https://your-domain.tapioca.app/auth/callback
SAML ACS: https://your-domain.tapioca.app/auth/saml/acs
3

Enter IdP details in tapioca

Go to Settings → Authentication → SSO and enter your IdP configuration (client ID, secret, or SAML metadata).

4

Configure role mapping

Map IdP groups or roles to tapioca roles for automatic permission assignment.

5

Test and enable

Test the SSO flow with a test user before enabling for your organization.

Configuration Reference

OptionTypeRequiredDescription
provider_typeenumYesOIDC or SAML
client_idstringYesOAuth Client ID (OIDC only)
client_secretstringYesOAuth Client Secret (OIDC only)
issuer_urlstringNoOIDC Issuer URL for auto-discovery
saml_metadata_urlstringNoSAML IdP metadata URL (SAML only)
role_attributestringNoAttribute containing user roles
Default: groups
role_mappingobjectNoMap IdP roles to tapioca roles
auto_create_usersbooleanNoCreate users on first login
Default: true

Troubleshooting

SSO login fails with redirect error

Verify the callback/ACS URL is correctly configured in your IdP. Check for trailing slashes.

Users not getting correct roles

Check your role_attribute configuration and ensure the IdP is sending group claims. Verify role_mapping is correct.

SAML signature validation failed

Ensure you are using the correct IdP certificate. Certificates expire and may need updating.

Related Integrations

Need help with this integration?

Our team is here to help you get set up and running.