Authenticates the user with Meta using OIDC redirect
This step authenticates the user by redirecting them to Meta for authentication using the OIDC Authorization Code flow. It enables social login with Meta (Facebook) accounts in your journeys and can also be used for user migration scenarios.
Before using this step, configure a Meta connection in Integration Hub.
When the journey reaches this step, the user is redirected to Meta to authenticate. After successful authentication, Meta redirects the user back to Mosaic using the configured callback URL. The authentication result is stored in the output variable and can be used in subsequent steps.
If the authentication fails, the journey proceeds to the failure branch (if specified); otherwise, the journey is aborted and an error is sent to the client.
| Field | Description |
|---|---|
| Meta integration | The Meta connector to use for authentication, as configured in Integration Hub. |
| Callback URL | The URL where Meta redirects the user after authentication. |
| Scope | OAuth scopes to request from Meta. Default: email,public_profile. |
| Response mode | Determines if the authorization response is returned in a query or a form post. |
| Advanced OIDC configuration | Allows configuring ACR values, claims, and additional authorize parameters. |
| Output variable | Name of the variable that stores the authentication result returned by Meta. |
| Error output variable | Name of the variable that stores any errors returned by the step. |
| Failure behavior | Determines the behavior in case of failure, which either aborts the journey or proceeds to a failure branch of the control flow (default). |
This step can be configured to record step input and output data, or a custom payload, which is then surfaced in journey events in Journey Analytics for diagnostic purposes. For details, see Additional data reporting.
Consider a journey that offers social login with Meta. The Meta OIDC Authentication step redirects the user to Meta's login page. After successful authentication, the output variable (meta_oidc_output) contains user information, including ID token and user_info, that can be used to create or authenticate a user in Mosaic.