Orchestration SDKs

Configure a React Native app for social sign-on

PingOne React Native

Complete the following high-level tasks to configure a React Native app to perform social sign-on with an external identity provider (IdP):

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, and set up the DaVinci flows your client app will step through.

Step 1. Adding core dependencies

Install the External IdP, DaVinci, and supporting modules.

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. The React Native External IdP module authenticates users with the provider’s native SDK, and falls back to a browser redirect when the native SDK is not linked.

Step 4. Authenticating with external IdPs

Learn how to authenticate your users with the external IdPs you have configured in your DaVinci flows.