Apple iOS tutorials
Prerequisites
Tutorial steps
There are three tutorials available for iOS, depending on your server environment:
-
Advanced Identity Cloud/PingAM
-
PingOne
-
PingFederate
This tutorial guides you through creating a Ping SDK-enabled iOS app from beginning to end.
It uses embedded login to implement user authentication journeys, meaning you get to design and implement the user interface to your requirements.
- Step 1. Download the samples
-
In this step, you download the Ping SDK sample apps repo, which contains the projects you will use.
- Step 2. Configure the sample app
-
In this step, you create a file to contain the settings you need to connect to your PingOne Advanced Identity Cloud or PingAM instance.
- Step 3. Run the sample app and perform embedded login
-
In this final step, you run the sample app. The app steps through the login journey, rendering a UI to collect the required data for each node.
Configure a sample iOS app to launch a browser to authenticate your users in PingOne, using centralized login.
After authenticating, PingOne redirects users back to your sample client application, that can then get OAuth 2.0 tokens and user info for the user.
- Step 1. Download the samples
-
In this step, you download the Ping SDK sample apps repo, which contains the projects you will use.
- Step 2. Configure the sample app
-
In this step, you configure the "FRExample" sample to connect to the OAuth 2.0 application you created in PingOne, using the centralized login method.
- Step 3. Run the sample app and perform centralized login
-
In this final step, you run the sample app that you configured in the previous step.
The app performs a centralized login to your PingOne instance.
Configure a sample iOS app to launch a browser to authenticate your users in PingFederate, using centralized login.
After authenticating, PingFederate redirects users back to your sample client application, that can then get OAuth 2.0 tokens and user info for the user.
- Step 1. Download the samples
-
In this step, you download the Ping SDK sample apps repo, which contains the projects you will use.
- Step 2. Configure the sample app
-
In this step, you configure the "FRExample" sample to connect to the OAuth 2.0 application you created in PingFederate, using the centralized login method.
- Step 3. Run the sample app and perform centralized login
-
In this final step, you run the sample app that you configured in the previous step.
The app performs a centralized login to your PingFederate instance.