---
title: OIDC sign-on to PingAM tutorial for Android
description: A tutorial for using the Android OIDC sign-on module with PingAM.
component: orchsdks
page_id: orchsdks:oidc:try-it-out/android/pingam/index
canonical_url: https://developer.pingidentity.com/orchsdks/oidc/try-it-out/android/pingam/index.html
revdate: Thu, 2 Apr 2026 11:33:37 +0100
keywords: ["OAuth 2.0", "OpenID Connect", "Tutorial", "Source Code", "Integration", "SDK", "Android", "PingAM"]
section_ids:
  before_you_begin: Before you begin
  step_1_download_the_samples: Step 1. Download the samples
  step_2_configure_connection_properties: Step 2. Configure connection properties
  step_3_test_the_app: Step 3. Test the app
---

# OIDC sign-on to PingAM tutorial for Android

[icon: circle-check, set=far]PingAM [icon: android, set=fab]Android

* [Prepare](00_before-you-begin.html)

* [Download](01_download-sample-repo.html)

* [Configure](02_configuring-connection-properties.html)

* [Run](03_test-the-app.html)

**In this tutorial you update a sample app that uses OIDC-based sign-on to obtain tokens by redirecting to the PingAM UI for authentication.**

The sample connects to the `.well-known` endpoint of your PingAM server to obtain the correct URIs to authenticate the user, and redirects to your PingAM server's login UI.

After authentication, PingAM redirects the browser back to your application, which then obtains an OAuth 2.0 access token and displays the related user information.

## [Before you begin](00_before-you-begin.html)

Before you begin this tutorial ensure you have set up your PingAM server with the required configuration.

For example, you will need to have an OAuth 2.0 client application set up, and a demo user to authenticate.

[**Complete prerequisites**[icon: chevrons-right, set=fas, size=xs]](00_before-you-begin.html)

## [Step 1. Download the samples](01_download-sample-repo.html)

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

[**Start step 1**[icon: chevrons-right, set=fas, size=xs]](01_download-sample-repo.html)

## [Step 2. Configure connection properties](02_configuring-connection-properties.html)

In this step, you configure the sample app to connect to the OAuth 2.0 application you created in PingAM.

[**Start step 2**[icon: chevrons-right, set=fas, size=xs]](02_configuring-connection-properties.html)

## [Step 3. Test the app](03_test-the-app.html)

To test the app, run the sample that you configured in the previous step.

The sample connects to your PingAM server to obtain the correct URIs to authenticate the user, and redirects the browser to your PingAM server.

After authentication, PingAM redirects the browser back to your application, which then obtains an OAuth 2.0 access token and displays the related user information.

[**Test app**[icon: chevrons-right, set=fas, size=xs]](03_test-the-app.html)
