build.gradle
dependencies section, add the following:
+
sign, or if you want to use a fixed version, check for the latest in Maven or JCenter.
./gradlew clean build
from the command line. For more information about Gradle usage, check their official documentation.android
section, target Java 8 byte code for Android and Kotlin plugins respectively.
AndroidManifest.xml
file and add the following permission.
https://YOUR_DOMAIN/android/{YOUR_APP_PACKAGE_NAME}/callback
Next, replace {YOUR_APP_PACKAGE_NAME}
with your actual application’s package name. You can find this in your app/build.gradle
file as the applicationId
value.
Then, in your app/build.gradle
file, add the Manifest Placeholders for the Auth0 Domain and the Auth0 Scheme properties, which the library will use to register an intent-filter that captures the callback URI.
@string/com_auth0_domain
rather than just hard-coding them.Auth0
object using your Auth0 and domain value. Objects will later use this when interacting with Auth0’s endpoints.
WebAuthProvider
class.
resetPassword
with the user’s email address and the database connection name as parameters.
Password reset requests will fail on network-related errors, but will not fail if the designated email does not exist in the database (for security reasons).