Skip to main content

SSO Configuration Guide

Configure Single Sign-On (SSO) for Smartflow using your bank's identity provider. Smartflow supports both SAML 2.0 and OpenID Connect (OIDC) protocols.


Prerequisites

  • Smartflow instance deployed and accessible.
  • Admin access to your Identity Provider (IdP) — e.g., Azure AD, Okta, Ping Identity.
  • Admin access to Smartflow's Settings → Authentication page.
  • Network connectivity between Smartflow and your IdP (verify firewall rules).

SAML 2.0 Configuration

Smartflow Service Provider (SP) Details

Provide these values to your IdP administrator:

ParameterValue
Entity ID (SP)https://{your-instance}.smartflow.io/auth/saml/metadata
ACS URLhttps://{your-instance}.smartflow.io/auth/saml/callback
SLO URLhttps://{your-instance}.smartflow.io/auth/saml/logout
NameID Formaturn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress
Signature AlgorithmRSA-SHA256

IdP Configuration Parameters

Collect these values from your IdP and enter in Smartflow:

ParameterDescription
IdP Entity IDYour IdP's entity identifier
SSO URLIdP's Single Sign-On endpoint
SLO URLIdP's Single Logout endpoint (optional)
x509 CertificateIdP's signing certificate (PEM format)

Attribute Mapping

SAML AttributeSmartflow FieldRequired
emailUser emailYes
given_nameFirst nameYes
family_nameLast nameYes
groupsRole assignmentRecommended

OpenID Connect (OIDC) Configuration

Smartflow OIDC Parameters

ParameterValue
Redirect URIhttps://{your-instance}.smartflow.io/auth/oidc/callback
Post-Logout Redirecthttps://{your-instance}.smartflow.io
Scopesopenid profile email

IdP Configuration Parameters

ParameterDescription
Client IDApplication/client ID from your IdP
Client SecretApplication secret (stored encrypted)
Issuer URLhttps://{your-idp}/.well-known/openid-configuration

Testing

  1. Test login: Access Smartflow and verify redirect to your IdP login page.
  2. Test user attributes: After login, verify user name and email appear correctly in Smartflow.
  3. Test role mapping: Verify that IdP group membership maps to the correct Smartflow role.
  4. Test logout: Click logout in Smartflow and verify session is terminated at the IdP.
  5. Test session expiry: Wait for session timeout and verify re-authentication is required.

Troubleshooting

SymptomLikely CauseResolution
Redirect loop after loginACS URL mismatchVerify ACS URL in IdP matches Smartflow SP details
"Invalid signature" errorCertificate mismatchRe-download IdP certificate and update in Smartflow
User created without roleGroup attribute not mappedConfigure groups claim in IdP and Smartflow attribute mapping
Login works but logout doesn'tSLO not configured at IdPConfigure SLO URL at IdP or disable SLO in Smartflow
"User not found" after loginEmail domain not allowlistedAdd user's email domain to Smartflow's allowed domains
info

For detailed troubleshooting, see the Access and Permissions Runbook.