Step 1. Adding core dependencies
PingOne Advanced Identity Cloud PingAM Android
These dependencies provide core support for social sign-on. These are the minimum required dependencies for using the redirect method to send users to the IdP for authentication.
|
If you want to use an IdP’s native libraries for an embedded experience you can add additional dependencies and configuration in an optional step later. |
To add the core dependencies for social sign-on:
-
In the Project tree view of your Android Studio project, open the
build.gradle.ktsfile. -
In the
dependenciessection, add the correct entries for your server:// External IdP dependencies for Journeys implementation("com.pingidentity.sdks:journey:2.0.0") implementation("com.pingidentity.sdks:external-idp:2.0.0")