Step 1. Adding core dependencies
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 code dependencies for social sign-on:
-
In the Project tree view of your Android Studio project, open the
build.gradle.kts
file. -
In the
dependencies
section, add the following:// Ping SDK social sign-on dependencies implementation("com.pingidentity.sdks:davinci:1.2.0") implementation("com.pingidentity.sdks:external-idp:1.2.0")