Skip to content

embesozzi/oidc-android-fr-sdk

Repository files navigation

OIDC Android App with ForgeRock SDK

Requirements · Getting Started · Demostration


The Android Demo App implements OAuth 2.0 flow with the ForgeRock SDK in mode Centralize UI. It means that the app uses AppAuth for Android as a client SDK for communicating with ForgeRock AM instance. App Auth follows the best practices set out in RFC 8252 - OAuth 2.0 for Native Apps, including using Custom Tabs for authorization requests.

Requirements

  • ForgeRock Identity Platform: Access Management (AM) 6.5.2+
  • Android API level 21+: Android 5.0 (Lollipop), 6.0 (Marshmallow), 7.0 (Nougat), 8.0 (Oreo), 9.0 (Pie), 10.0, 11.0

Getting Started

To try out Android demo perform these steps:

  1. Setup an Access Management (AM) instance, as described in the Documentation.
  2. Open the Android SDK project in Android Studio.
  3. Open /app/src/main/res/values/strings.xml and edit the values to match your AM instance.
  4. On the Run menu, click Run 'app'.

Demostration

  1. App home:

  1. Custom Tab authentication process:

  1. User information:

Releases

No releases published

Packages

No packages published

Languages