Test web authentication (WebAuthn) API flows on your password-less websites
Learn how to test WebAuthn API flows on Live.
Some websites support password-less authentication using the Web Authentication (WebAuthn) APIs. WebAuthn is a specification written by the W3C and FIDO that allows websites to register and authenticate users using passkeys (public key cryptography) instead of a password.
This feature is available under Team Pro and and Enterprise Pro plans only. For more details, see our pricing page.
You can test websites that implement WebAuthn APIs to support password-less authentication on Live. To test such websites, you need to complete the following steps:
- Set up a Google account on the device
- Set up device passcode
- Set Google account to use passkeys
- Test WebAuthn API flow
Supported OS and browsers
This feature is not supported on Huawei, Realme, Oppo, and Xiaomi devices.
- Devices running Android version 11 and higher
- All browsers on Android
Set up a Google account on the device
To set up a Google account on the device:
- Log in to the Live dashboard.
- Select a device-browser combination to launch a test session.
- On the vertical toolbar, click Show Home Screen.
- Open the Settings app.
- Click the Google option to set up a Google account on the device.
- Click Sign in to your Google account.
- Follow the steps for Google account sign-in.
Your Google account is now set up on the device.
Set up device passcode
To set up the device passcode, follow these steps in the Live session:
- On the Live vertical toolbar, click Settings.
- In the Android Settings section, switch the Device Passcode toggle to on.
The device passcode is set to1234
. When prompted, enter the passcode using your local system keyboard and pressEnter
.
Set up a Google account to use passkeys
To set your Google account to use passkeys for signing in, follow these steps in the Live session:
- On the vertical toolbar, click Show Home Screen.
- Open the Settings app.
- Click Google and then click Manage your Google account.
- Go to the Security tab. Scroll down and click Passkeys and security keys.
- Click Continue and enter the device passcode.
The screen might blackout. Enter the1234
device passcode using your local system keyboard and pressEnter
. - Click Use passkeys.
Your Google account is now set up to use passkeys for sign-in. Click Done.
Test WebAuthn API flow
To demonstrate how to test WebAuthn API flows, we have used the WebAuthn demo website. The registration and authentication steps might differ depending on your website implementation.
To test WebAuthn API flow, follow these steps in the Live session:
- Open your website on the device.
- Start the sign-in workflow.
- Enter the username and click Register to register the user.
The passkeys are saved in your Google account. Click Continue. - You are asked to use the screen lock. Click Use screen lock.
- You are prompted to enter the device passcode.
The screen might blackout. Enter the1234
device passcode using your local system keyboard and pressEnter
. You are now successfully registered. - The username is prefilled. Click Authenticate to authenticate the user.
You have now successfully tested WebAuthn API flows on your password-less website!
We're sorry to hear that. Please share your feedback so we can do better
Contact our Support team for immediate help while we work on improving our docs.
We're continuously improving our docs. We'd love to know what you liked
We're sorry to hear that. Please share your feedback so we can do better
Contact our Support team for immediate help while we work on improving our docs.
We're continuously improving our docs. We'd love to know what you liked
Thank you for your valuable feedback!