Ping SDKs

Authentication journey quick start for Android


In this quick start tutorial you update one of our sample applications to connect to your PingOne Advanced Identity Cloud tenant or PingAM server to authenticate a user.

The app steps through a simple authentication journey and returns a session token. The app is then able to obtain user info from the server, and finally sign out to terminate the session.

To learn how to create an app from scratch to authenticate your users, try the Authentication journey deep-dive tutorial for Android.

Before you begin

Before you begin this tutorial ensure you have set up your PingOne Advanced Identity Cloud tenant or PingAM server with the required configuration.

For example, you will need an OAuth 2.0 client application set up, as well as an authentication journey for the app to navigate.

Step 1. Download the samples

To start this tutorial, you need to download the SDK sample apps repo, which contains the projects you will use.

Step 2. Configure connection properties

In this step, you configure the "kotlin-ui-prototype" sample app to connect to the OAuth 2.0 application you created in PingOne Advanced Identity Cloud or PingAM.

Step 3. Test the app

In this step, you will test your application.

You run it in the emulator or on your Android device, perform authentication with a demo user, obtain OAuth 2.0 tokens, and then log out the user.