Creating a Passkey
Prompt your users to save a new passkey for faster login
Last updated
Prompt your users to save a new passkey for faster login
Last updated
Passkeys is a a relatively new concept that Google has introduced to its mobile ecosystem in order to improve authentication ease while increasing security over simple passwords. Passkeys under the hood use cryptographic keys in order to allow for authentication, but Google presents these keys in the form of your device's screen lock and or bio metrics. Passkeys are not meant to replace passwords yet but are instead an alternative login method to the traditional password method.
To create a new passkey, use the following code:
Make sure you provide the domain that you registered in your Digital Asset Links file in order for your saved passkeys to work for both your app and your website.
For more information on what these fields are please refer to the for passkeys support.