Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/embesozzi/oidc-android-fr-sdk

Android App implementing OIDC with ForgeRock SDK
https://github.com/embesozzi/oidc-android-fr-sdk

access-management forgerock forgerock-am forgerock-android-sdk oidc

Last synced: 16 days ago
JSON representation

Android App implementing OIDC with ForgeRock SDK

Awesome Lists containing this project

README

        


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](https://tools.ietf.org/html/rfc8252), including using [Custom Tabs](https://developer.chrome.com/multidevice/android/customtabs) 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](https://sdks.forgerock.com/android/01_prepare-am/)**.
2. Open the Android SDK project in [Android Studio](https://developer.android.com/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:



2. Custom Tab authentication process:



3. User information: