Skip to content

External IDP

External IDP connectors let you integrate your existing identity providers with Mosaic via journeys. They are primarily used in Just-In-Time (JIT) migration scenarios, where users are authenticated against your existing IDP and provisioned in Mosaic as they log in. Social providers (Google, Meta, Apple) can also be used to enable social login in your journeys.

Supported providers

Mosaic provides pre-built connectors for the following identity providers. Available authentication methods vary by provider and are exposed as journey steps.

ProviderOIDCPasswordEmail OTPSMS OTPTOTP
Okta✓✓––✓
Auth0✓✓–––
AWS Cognito✓✓✓✓–
Microsoft Entra ID✓✓–––
Keycloak✓✓––✓
OneLogin✓✓–––
Ping Identity✓✓–––
Google✓––––
Meta (Facebook)✓––––
Apple✓––––

Add connector

To add an external IDP connector:

  1. In the Admin Portal, navigate to Integration Hub > External IDP.
  2. Select your identity provider.
  3. Enable connector.
  4. Enter a name for the connector.
  5. Enable the authentication methods you want to use.
  6. Complete the connector fields:
FieldDescription
Authentication methodsThe authentication methods to enable. Available methods vary by provider—see the provider sections below.
Domain / server / realmThe provider-specific identifier for your IDP instance (for example, your Okta domain, Cognito user pool details, or Keycloak realm URL). See the provider sections below for details.
Client credentialsThe OAuth2 client ID and secret Mosaic uses to authenticate against your IDP.
Custom endpoints (Advanced)Override default IDP endpoints if you use a custom domain.
  1. Click Test to verify the connection.
  2. Click Save.

Auth0

Mosaic supports OIDC and password authentication against Auth0.

Before you connect

  • OIDC: Add the redirect URI from your application's client settings to the Allowed Callback URLs in your Auth0 application.
  • Password: Enable the Password grant type in Advanced Settings > Grant Types. Also set the Default Directory to Username-Password-Authentication in Settings > API Authorization Settings—without this, the password grant fails.

Connector fields

FieldValue
Auth0 domainYour Auth0 tenant domain (e.g., your-tenant.us.auth0.com).
Client credentialsClient ID and secret from your Auth0 application.

AWS Cognito

Mosaic supports OIDC, password, and OTP (email and SMS) authentication against AWS Cognito.

Before you connect

In your Cognito app client settings, enable the authentication flows for the methods you plan to use:

  • OIDC: Enable Authorization code grant in Hosted UI settings. Add the redirect URI from your application's client settings to the Allowed callback URLs.
  • Password: Enable ALLOW_USER_PASSWORD_AUTH.
  • OTP: Enable ALLOW_USER_AUTH. In the user pool's sign-in settings, also enable email or SMS OTP under Options for choice-based sign-in.

If you use OTP, ensure MFA is set to Optional or No MFA—setting it to Required is incompatible with OTP as a first-factor authentication method.

Connector fields

FieldValue
AWS RegionThe AWS region where your User Pool is located.
Client credentialsClient ID and secret from your Cognito app client.
User Pool IDThe ID of your Cognito User Pool (e.g., eu-north-1_xxxxxx).
DomainYour Cognito Hosted UI domain (required for OIDC).

Okta

Mosaic supports OIDC, password, and TOTP authentication against Okta.

Before you connect

In Okta, create a Native application (ROPC requires the Native type, not Web). Enable the grant types for the methods you plan to use:

  • OIDC: Enable the Authorization Code grant type. Add the redirect URI from your application's client settings as a sign-in redirect URI.
  • Password: Enable the Resource Owner Password grant type (under Advanced > Other grants).
  • TOTP: Enable the Interaction Code grant type (under Advanced > Other grants) and turn on Embedded widget sign-in support in Settings > Account.

For each method, ensure the Authorization Server access policy (Security > API > Authorization Servers) includes the corresponding grant type. Configure the Authentication policy assigned to the application to allow Password factor for password and OIDC, or Possession factor for TOTP.

Connector fields

FieldValue
Okta domainYour Okta organization domain (e.g., your-org.okta.com).
Authorization Server IDThe ID of the Okta authorization server. Use default for the default authorization server.
Client credentialsClient ID and secret from the Native application.

Microsoft Entra ID

Mosaic supports OIDC and password authentication against Microsoft Entra ID.

Before you connect

In Azure Portal, create an App registration under Microsoft Entra ID.

  • OIDC: Configure redirect URIs under Authentication > Platform configurations. Add the redirect URI from your application's client settings.
  • Password: Enable Allow public client flows under Authentication > Advanced settings. This is required for the ROPC flow—without it, password authentication fails. Note that MFA must not be enforced for users authenticating via ROPC, as the flow cannot handle interactive MFA challenges.

Create a client secret under Certificates & secrets and note the Tenant ID and Client ID from the application overview.

Connector fields

FieldValue
Tenant IDYour Azure Directory (tenant) ID.
Client credentialsClient ID and client secret from your app registration.

Keycloak

Mosaic supports OIDC, password, and TOTP authentication against Keycloak.

Before you connect

Create a confidential client in your Keycloak realm with Client authentication enabled. Configure the authentication flows for the methods you plan to use:

  • OIDC: Enable Standard flow. Add the redirect URI from your application's client settings to the Valid redirect URIs.
  • Password: Enable Direct access grants.
  • TOTP: Create a custom Direct Grant authentication flow containing Username Validation and OTP executions (both Required), and bind it as the Direct grant flow. Users must have a TOTP authenticator enrolled before they can use this method.

Connector fields

FieldValue
Keycloak Server URLThe base URL of your Keycloak realm (e.g., https://your-keycloak.com).
RealmThe Keycloak realm name to authenticate against.
Client credentialsClient ID and secret from your Keycloak client.

OneLogin

Mosaic supports OIDC and password authentication against OneLogin.

Before you connect

Create an OpenID Connect application in your OneLogin admin console. Add the redirect URI from your application's client settings to the application's Redirect URIs.

Set the Token Endpoint Authentication Method in the application's SSO settings based on the methods you plan to use:

  • OIDC: Set to Basic.
  • Password: Set to POST.

These settings conflict—only one can be active per application. If you need both OIDC and password authentication, create two separate OneLogin applications and configure one connector for each.

Ensure users are assigned to the application.

Connector fields

FieldValue
OneLogin subdomainYour OneLogin subdomain (e.g., your-company.onelogin.com).
Client credentialsClient ID and secret from the SSO tab of your OneLogin application.

Ping Identity

Mosaic supports OIDC and password authentication against Ping Identity (PingOne).

Before you connect

Create an OIDC application in your PingOne environment.

  • OIDC: Add the redirect URI from your application's client settings to the application's redirect URIs.
  • Password: Enable the Resource Owner Password Credentials grant type for the application.

Connector fields

FieldValue
PingOne Environment IDThe ID of your PingOne environment.
RegionThe PingOne region to use in authentication requests.
Client credentialsClient ID and secret from your PingOne application.

Google

Mosaic supports OIDC authentication with Google, enabling Sign in with Google in your journeys.

Before you connect

In the Google Cloud Console, create an OAuth 2.0 client (type: Web application). Add the redirect URI from your application's client settings to the Authorized redirect URIs.

Connector fields

FieldValue
OAuth 2.0 Client CredentialsClient ID and secret from your Google OAuth 2.0 client.

Meta

Mosaic supports OIDC authentication with Meta, enabling social login with Facebook accounts in your journeys.

Before you connect

In Meta for Developers, create an app and configure the Facebook Login product. Add the redirect URI from your application's client settings to the Valid OAuth Redirect URIs.

Connector fields

FieldValue
OAuth 2.0 Client CredentialsApp ID and App Secret from your Meta application.
API versionAPI version to use for the Meta integration .

Apple

Mosaic supports OIDC authentication with Apple, enabling Sign in with Apple in your journeys.

Before you connect

In the Apple Developer portal, create a Services ID for Sign in with Apple. Add the redirect URI from your application's client settings to the Return URLs. You also need a private key to generate the client secret.

Connector fields

FieldValue
OAuth 2.0 Client CredentialsServices ID (used as Client ID) and the generated client secret.

Next steps

Once configured, use the connector in your migration journey. See Set up JIT migration for a step-by-step guide.