Identity Providers overview
This page explains how Identity Providers work with Aembit and when to use them.
- Ready to set up SSO? See Creating SAML 2.0 Identity Providers or Creating OIDC 1.0 Identity Providers
- Using Okta? See How to set up Okta SSO with your Aembit Tenant to set up SSO with the Aembit integration from the Okta app catalog
- Need to configure automatic user creation? See Automatic User Creation
- Need to revoke a user’s MCP sessions? The Sessions tab on each Identity Provider lists the MCP user sessions of people who signed in through it; see Manage MCP user sessions
- Just exploring? Keep reading to understand the concepts
In your Aembit Tenant: Aembit Tenants serve as isolated, dedicated environments within Aembit that provide complete separation of administrative domains and security configurations.Learn more, the Identity Providers feature lets you offer users alternate sign-in methods. The default authentication method is to use an email and password with the option to enable and require MFA.
Requiring your users to remember and manually enter a username and password every time they sign in to your Aembit Tenant is tedious, error-prone, and insecure long-term. To improve user experience and security, set up Single Sign-On (SSO). Integrate an external Identity Provider (IdP) such as Okta, Google, or Microsoft Entra ID. Aembit supports both SAML 2.0 and OIDC 1.0 protocols for SSO authentication.
To enforce the exclusive use of SSO and prevent your users from authenticating with their username and password, enable Require Single Sign On.
SSO overview
Section titled “SSO overview”SAML 2.0 (Security Assertion Markup Language) is an open standard for cross-domain Single Sign-On (SSO). SSO allows a user to authenticate in one system—the Identity Provider—and gain access to a different system. The Service Provider accepts proof of authentication from the IdP.
SAML Identity Provider
Section titled “SAML Identity Provider”The SAML Identity Provider (IdP) enables SSO user authentication where Aembit acts as the Service Provider. Common SAML Identity Providers include Okta, Google, Microsoft Entra ID, and many others.
Service Provider
Section titled “Service Provider”The Service Provider takes this information and implicitly trusts the information given and provides access to the service or resource. The Aembit Service Provider is an example of a resource that accepts external Identity Provider data.
Aembit SSO authentication process
Section titled “Aembit SSO authentication process”The following occurs during the SSO authentication process on your Aembit Tenant:
-
A user selects the option to authenticate through an IdP on the Aembit Tenant login page.
-
Aembit redirects the user to the IdP’s log in page.
-
The IdP prompts the user to authenticate.
-
If the IdP authentication is successful, the IdP redirects the user back to your Aembit Tenant.
-
Aembit logs the user in through the successful SSO authentication.
SSO authentication fails when the IdP’s response fails validation, when Aembit can’t create the user or map them to a
role, or when the user has no account, an inactive account, or no active role.
In that case, Aembit returns the user to the login page with the message “Single Sign-On login failed.
Check your Identity Provider configuration.”
Aembit also records an Audit Log event in the
Authentication category that names the step that failed.
If Aembit can’t redirect the user to the IdP, the login page shows “Single Sign-On challenge failed. Please contact your administrator.”
The following diagram shows the SSO authentication flow:
About automatic user creation
Section titled “About automatic user creation”When you enable the automatic user creation feature, Aembit automatically generates new user accounts on your behalf when your users go through the SSO authenticate process. This automation not only saves time and resources by reducing or eliminating the manual effort needed to manage user accounts but also minimizes errors associated with manual account management. Also, this feature provides granular control of what user roles Aembit assigns to new users it creates.
The automatic user creation feature works by extracting certain SAML attributes in the SAML response from the IdP after successful authentication with that IdP. It’s important to know, however, that not all IdPs configure their SAML attributes the same way. Different IdPs use distinct attribute names to pass user group claim information.
To alleviate these inconsistencies, Aembit allows you to map your IdP’s SAML attributes to the user roles available in your Aembit Tenant. See Configure automatic user creation for details.
How automatic user creation works
Section titled “How automatic user creation works”During the SSO authentication process, when Aembit verifies the authentication response, if no user account exists for that user, Aembit initiates the automatic user creation process.
Aembit requires an email address to uniquely identify users of your Aembit Tenant. If it can, Aembit populates the first and last name of the users it automatically creates. If not, Aembit sets the first and last name to the user’s email address.
Aembit extracts user information from authentication response claims including email, name, and group membership. For technical details about specific claim requirements and attribute names, see Configure automatic user creation.
Complete setup checklist
Section titled “Complete setup checklist”Setting up SSO requires configuration in two places. For Okta, How to set up Okta SSO with your Aembit Tenant covers both, in the order the setup needs.
-
Configure Aembit in your IdP - Add Aembit as an application in your Identity Provider. See your IdP’s documentation for instructions.
-
Configure your IdP in Aembit - Add your IdP to Aembit:
- For SAML 2.0: See Creating SAML 2.0 Identity Providers
- For OIDC 1.0: See Creating OIDC 1.0 Identity Providers
-
(Optional) Configure automatic user creation - See Automatic User Creation
-
Test SSO with a test user before enforcing it - Verify SSO works before enabling “Require Single Sign On”
Additional resources
Section titled “Additional resources”The following pages provide more information about working with Identity Providers:
- Creating SAML 2.0 Identity Providers - Set up SAML 2.0 SSO in your Aembit Tenant
- Creating OIDC 1.0 Identity Providers - Set up OIDC 1.0 SSO in your Aembit Tenant
- Automatic User Creation - Configure automatic user creation with Identity Providers
- How to set up Okta SSO with your Aembit Tenant - Set up Okta SSO with the Aembit integration from the Okta app catalog