Australian flagJoin us at the FIDO seminar in Melbourne – Feb 7, 2025!

What are the steps for creating a passkey during user onboarding?

Vincent Delitz

Vincent

Created: January 8, 2025

Updated: January 9, 2025

Do you want to learn more?

Read full blog post

What Are the Steps for Creating a Passkey During User Onboarding?#

Creating a passkey during user onboarding is a crucial step to encourage adoption and improve user security. Here’s a step-by-step guide to the process:

steps creating passkey user onboarding

1. User Login or Registration#

During onboarding, users log in using their existing credentials (e.g., email and password) or register a new account.

2. Prompt for Passkey Creation#

  • After successful login or registration, prompt the user to create a passkey.
  • Display a clear message explaining the benefits of passkeys, such as enhanced security and ease of use.

3. Invoke the WebAuthn API#

  • Use the WebAuthn API to initiate the passkey creation process.
  • Request user consent and trigger the device’s biometric or PIN-based authentication system.
Substack Icon

Subscribe to our Passkeys Substack for the latest news, insights and strategies.

Subscribe

4. Generate and Store Credentials#

  • Upon successful authentication, the device generates a public-private key pair.
  • Store the public key and credential ID securely in your backend system.

5. Confirmation and Feedback#

  • Provide a confirmation message to the user, indicating that the passkey was created successfully.
  • Optionally, guide the user on how to use the passkey for future logins.

6. Optional: Cross-Device Setup#

  • Encourage users to set up passkeys on additional devices to enable seamless cross-device login experiences.

Best Practices#

  • Make the process intuitive and frictionless by providing clear instructions.
  • Ensure compliance with WebAuthn standards for secure implementation.

This step-by-step process ensures that users can create passkeys effortlessly during onboarding, enhancing both security and user experience.

Do you want to learn more?

Read full blog post

Share this article


LinkedInTwitterFacebook

Enjoyed this read?

🤝 Join our Passkeys Community

Share passkeys implementation tips and get support to free the world from passwords.

🚀 Subscribe to Substack

Get the latest news, strategies, and insights about passkeys sent straight to your inbox.


We provide UI components, SDKs and guides to help you add passkeys to your app in <1 hour

Start for free