Check out our official Android documentation.
Ensure that you have mavenCentral
listed in your project's buildscript repositories section:
buildscript {
repositories {
mavenCentral()
...
}
}
Add the following to your app's build.gradle file:
implementation 'com.authsignal:authsignal-android:2.0.1'
import com.authsignal.Authsignal
...
val authsignal = Authsignal("YOUR_TENANT_ID", "YOUR_REGION_BASE_URL")
You can find your tenant ID in the Authsignal Portal.
You must specify the correct base URL for your tenant's region.
Region | Base URL |
---|---|
US (Oregon) | https://api.authsignal.com/v1 |
AU (Sydney) | https://au.api.authsignal.com/v1 |
EU (Dublin) | https://eu.api.authsignal.com/v1 |
For more detailed information on how to add passkeys and other MFA and passwordless authentication methods to your app using Authsignal, refer to our Mobile SDK documentation.