Skip to main content
Docs

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.

Warning

Android supports passkeys from version 9+. Passkeys will not work with Android emulators. You must use a physical device.

Enable passkeys

To use passkeys, first enable the strategy in the Clerk Dashboard.

  1. In the Clerk Dashboard, navigate to the Email, Phone, Username page.
  2. Select the Sign-in options tab and ensure Passkeys is enabled.
  1. In the Clerk Dashboard, navigate to the Native Applications page.
  2. Select the Android tab.
  3. Select Add Android app.
  4. Fill out the form with the following information:
    • The namespace (This guide uses the default value android_app)
    • Your Android app's package name. You can find this in your app-level build.gradle file, typically formatted like com.example.myclerkapp.
    • The SHA256 certificate fingerprints. If you don't know where to find the SHA256 certificate fingerprints, see the Android docs.
  5. 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

What did you think of this content?

Last updated on