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.
- 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
To try out Android demo perform these steps:
- Setup an Access Management (AM) instance, as described in the Documentation.
- Open the Android SDK project in Android Studio.
- Open
/app/src/main/res/values/strings.xml
and edit the values to match your AM instance. - On the Run menu, click Run 'app'.
- App home:
- Custom Tab authentication process:
- User information: