Ping SDKs

Configure an iOS app for social sign-on

After completing the steps in Before you begin, you can continue to configure an iOS client app to perform social sign-on.

We provide a sample app that demonstrates how to perform social sign-on with PingOne. You can use the app to follow the steps in this tutorial or to check you have completed them correctly.

Step 1. Adding core dependencies

These dependencies provide core support for social sign-on. These are the minimum required dependencies for redirecting users to the IdP for authentication.

Step 2. Handling URI schemes

You must configure your iOS app to open when the server redirects the user to the custom URI scheme you entered when setting up PingOne.

Step 3. Handling IdpCollector nodes

Your app must handle the IdpCollector node type that DaVinci sends when a user attempts to authenticate using an external IdP.

[Optional] Step 4. Configuring your app to use native SDK libraries

Optionally, you can use an IdP’s native SDK libraries to handle social sign-on directly rather than redirecting the user in a web browser.

This can provide a smoother, more integrated experience for your users than the redirect method.

Skip this step if you want to redirect users to sign-on to the IdP using a browser.