Orchestration SDKs

Step 3. Test the app

PingOne Advanced Identity Cloud Android


In the following procedure, you run the sample app that you configured in the previous step. The app performs a centralized login on your PingOne Advanced Identity Cloud instance.

Log in as a demo user

  1. In Android Studio, select Run > Run 'oidc'.

    The Android emulator launches the default browser and starts the authentication journey:

    Starting the default authentication journey in the 'kotlin-oidc' sample app
    Figure 1. Starting the default authentication journey in the 'kotlin-oidc' sample app
  2. Sign on as a demo user:

    • Name: demo

    • Password: Ch4ng3it!

    If authentication is successful the app displays user info:

    Showing user info in the 'kotlin-oidc' sample app
    Figure 2. Showing user info in the 'kotlin-oidc' sample app
  3. Tap the menu icon (), and then tap generating_tokens Show Token.

    The app displays the user’s access and refresh tokens, if issued:

    Showing user info in the 'kotlin-oidc' sample app
    Figure 3. Showing access tokens in the 'kotlin-oidc' sample app
  4. Tap the menu icon (), and then tap logout Logout.

    The app logs the user out of PingOne Advanced Identity Cloud, revokes the tokens, and returns to the start of the default authentication journey.