Configure passkeys for Android
Passkeys are a secure, passwordless authentication method that use biometrics and a physical device to authenticate users. This guide shows you how to configure passkeys for your Android application.
Enable passkeys
To use passkeys, first enable the strategy in the Clerk Dashboard.
- In the Clerk Dashboard, navigate to the Email, Phone, Username page.
- Select the Sign-in options tab and ensure Passkeys is enabled.
Set up your Android app links in the Clerk Dashboard
- In the Clerk Dashboard, navigate to the Native Applications page.
- Select the Android tab.
- Select Add Android app.
- Fill out the form with the following information:
- The
namespace
(This guide uses the default valueandroid_app
) - Your Android app's package name. You can find this in your app-level
build.gradle
file, typically formatted likecom.example.myclerkapp
. - The
SHA256 certificate fingerprints
. If you don't know where to find theSHA256 certificate fingerprints
, see the Android docs.
- The
- After submitting the form, you can verify that your
assetlinks.json
file is properly associated with your app by using Google's Statement List Generator and Tester.
Usage
To learn how to use passkeys in your Android application, such as creating, deleting, and authenticating users with passkeys, see the custom flow guide.
Feedback
Last updated on