Orchestration SDKs

Configure a React Native app for social sign-on

PingOne Advanced Identity Cloud PingAM React Native

Complete the following steps to configure a React Native app to perform social sign-on with an external identity provider (IdP).

Where a provider’s native SDK is available on a platform, the External IdP module uses it to give users a smooth, integrated sign-in experience.

Where no native SDK is available, the module falls back to a browser redirect flow using the URI scheme you register in step 2.

Before you begin

Ensure that you have completed the prerequisites before starting the numbered steps on this page below.

You need to have configured Apple, Facebook, and Google as external identity providers in PingOne Advanced Identity Cloud or PingAM, and set up the social authentication journeys your client app will step through.

Step 1. Adding core dependencies

Install the External IdP module and link the native iOS dependencies.

Step 2. Handling URI schemes

Register a URI scheme on Android and iOS so the OS can route provider redirects back to your app.

Step 3. Configuring native provider SDKs

Add and configure the native SDK for each provider you want to support.

Step 4. Authenticating with external IdPs

Learn how to use the External IdP module to authenticate users through external providers in your journeys.