Plan passkey registration around one browser call: navigator.credentials.create() with the publicKey option, which has the authenticator create the credential.
Key takeaways
Plan the new account flow around four core actions: register the passkey before use, handle the device unlock prompt, verify the stored credential data, and document where each key lives.
- Register before using passkeys. A user must first register a passkey with the website or application to create it, according to Google.
- Describe the device unlock. The system asks the user to unlock their device to ensure only the rightful owner can use the passkey, according to Google.
- Check the saved information. Verify the information stored with the new passkey after creation, according to Google.
- Separate private and public keys. The private key is securely stored on the device, while the server stores the public key and randomly generates challenges for the authenticator to sign, according to Yubico.
Use these four points to annotate your signup brief. Specify the registration trigger, the unlock prompt behavior, the storage verification step, and the key distribution logic for engineering review.
Passkey registration flow: the account creation steps
When navigator.credentials.create() is used with the publicKey option, the user agent creates new credentials through an authenticator, either for registering a new account or for associating a new asymmetric key pair with an existing account, according to MDN. This action defines the core technical step for your new account flow. The browser initiates the process, and the authenticator handles the credential generation. Your engineering team must treat this specific API call as the trigger for the registration sequence.
The four planning steps for this flow are: 1. Review implementation resources. 2. Prepare registration data. 3. Create the account credential. 4. Check credential storage.
Step three is the direct execution of the credential creation described above. The other steps frame this action within your broader signup architecture. You must map these steps clearly in your developer handoff to ensure the team understands where the browser’s role begins and ends. The W3C Web Authentication specification defines registration as the ceremony where a user, a Relying Party and the user’s client platform "work in concert to create a public key credential and associate it with a user account". Put that definition at the top of your handoff.
Review the WebAuthn resources before writing the brief
Begin your engineering handoff by identifying the specification context. The WebAuthn standard is a universally accepted W3C specification developed in concert by Yubico, Google, Mozilla, Microsoft, and others, according to Yubico. This foundation connects to other industry standards. Web Authentication works in tandem with other industry standards such as Credential Management and FIDO 2.0 Client to Authenticator Protocol 2 (CTAP), according to Yubico.
Next, review the server-side implementation walkthrough. Check out the WebAuthn Walk-Through for an introduction to WebAuthn/FIDO2 using Yubico’s Java WebAuthn Server, according to Yubico. This resource provides a concrete starting point for understanding how the server initiates the registration process.
For deeper implementation support, locate the developer resources. Sign up to the Yubico Developer Program to access the resources for implementing the FIDO2 and Web Authentication specifications, according to Yubico. These materials provide the technical details needed to build a compliant registration flow.
Finally, review the relying party operations. Watch FIDO2 / Web Authentication webinars to learn more about the core concepts and how to integrate WebAuthn RP operations into an authentication server, according to Yubico. These webinars cover core concepts and the integration of WebAuthn relying party operations into an authentication server.
Use these four resources to structure your brief. The specification context, server walkthrough, developer program, and webinars form the core of your implementation plan. Review them before defining the specific registration steps for your new account flow.
Map the server information and registration challenge
Your engineering brief must separate the data exchange between your backend and the web app from the data passed to the authenticator. The relying party server sends user and relying party information to the web app handling the registration process, along with the "challenge", using an appropriate secure mechanism (for example Fetch or XMLHttpRequest), according to MDN. This initial transmission establishes the context for the registration request before the browser interacts with the user’s device.
The challenge itself is a critical component of the security handshake. In their most basic forms, both create() and get() receive a very large random number called the "challenge" from the server and return the challenge signed by the private key back to the server, according to MDN. When you document the flow for your developers, specify that the server generates this random number and that the authenticator’s role is to sign it. The signed challenge returns to the server. The W3C Web Authentication specification says the challenge values "MUST be randomly generated by Relying Parties in an environment they trust". Add that line to your server requirements.
Once the web app receives the server information and the challenge, it initiates the credential creation request. The parameters of the create() call are passed to the authenticator, along with a SHA-256 hash that is signed to ensure that it isn't tampered with, according to MDN. This distinction is vital for your security documentation: the server-to-web-app exchange carries the user and relying party details, while the web-app-to-authenticator exchange carries the specific parameters and the signed hash. The same specification says the authenticator makes sure "all operations are scoped to a particular origin". Note that in your security documentation.
To structure this in your handoff document, list the three distinct data packets: 1. Server to Web App: User information, relying party information, and the challenge. 2. Web App to Authenticator: Create() parameters and the signed SHA-256 hash. 3. Authenticator to Server: The challenge signed by the private key.
Review your existing API documentation to confirm that the user and relying party information fields match the Web Authentication API requirements. If your current signup flow uses a different method for transmitting the challenge, note the difference in your brief. The goal is to ensure that the parameters passed to the authenticator are exactly what the specification expects, including the signed hash that prevents tampering.
Specify credential creation, device unlock and storage
The registration process requires the user to create the credential before they can use it for login. Your brief should specify that the system asks the user to unlock their device to make sure only the rightful owner can use a passkey, according to Google. This device-unlock prompt is part of the documented flow. The specification also says "Authenticators are responsible for ensuring that no operation is performed without user consent". Treat the unlock prompt as that consent step. After the credential is created, the next step is to check the information stored with the new passkey, according to Google.
When documenting credential storage, distinguish between what stays on the device and what goes to the server. The asymmetric key pair is stored in the authenticator, which can then be used to authenticate a user with a relying party for example during MFA, according to MDN. The authenticator holds the key pair, not the server. However, when registering a new account, these credentials are stored on a server (also referred to as a service or a relying party) and can be subsequently used to log a user in, according to MDN.
Your engineering handoff should clearly separate these two storage locations. The device holds the private key material within the authenticator, while the server holds the public credential data. Do not assume that all authenticators store and synchronize credentials in the same way; the documentation specifies the role of the authenticator in storing the key pair and the server in storing the account credentials. If your product lets passkeys sync between devices, NIST’s digital identity guidelines (SP 800-63B-4) adds a requirement for keys kept in cloud storage: "Authentication keys stored in the sync fabric SHALL be protected by access control mechanisms such that only the authenticated user can access their authentication keys in the sync fabric". Write down in your handoff who controls that access.
Annotate your existing signup brief with the registration trigger, server information, device prompt and credential-storage decisions for engineering review.
Passkey registration reference table by publisher
The table below lists one documented reference from each of four publishers that bears on the registration flow. Use it to verify that your engineering handoff cites the correct source for each action.
| Publisher | Registration Action | Documented Detail |
|---|---|---|
| Yubico | Identify the registration specification | The WebAuthn standard is a universally accepted W3C specification developed in concert by Yubico, Google, Mozilla, Microsoft, and others. |
| MDN | Map server registration information | The relying party server sends user and relying party information to the web app handling the registration process, along with the "challenge", using an appropriate secure mechanism (for example Fetch or XMLHttpRequest). |
| Register before using passkeys | To create a passkey for a website or application, a user first must register a passkey with that website or application. | |
| Apple | Describe Apple account creation | Saving and using a passkey is quick and easy with one-step account creation and sign-in using Face ID or Touch ID. |
Review each row against your current signup brief. Ensure your engineering team has access to the specific URLs listed in the source documents. This table serves as a checklist for the documentation phase of your passkey rollout. Verify that the "challenge" mechanism described by MDN is implemented in your server logic. Confirm that your user flow aligns with the registration-first requirement noted by Google. Check if your product supports the one-step creation described by Apple.
The distinction between these sources is important for accurate documentation. Yubico provides the standard definition. MDN provides the API interaction details. Google provides the usage prerequisite. Apple provides the platform-specific experience. Do not mix these details in your handoff. Keep the specification context separate from the API implementation details. Keep the usage prerequisite separate from the platform-specific UI descriptions.
Keep the registration decisions in your developer handoff
Document the Apple-specific account creation experience before handing the flow to engineering. According to Apple, saving and using a passkey is quick and easy with one-step account creation and sign-in using Face ID or Touch ID. This behavior is specific to the Apple platform and does not apply to every signup flow. Do not assume this interface exists on other operating systems or devices.
Explain how passkeys move between devices in the Apple ecosystem. According to Apple, because passkeys are synced with iCloud Keychain, they’re available across Apple devices. If your product supports multiple Apple devices, plan for this iCloud Keychain syncing. The same federal guidance says "User access to authentication keys in the sync fabric SHALL be protected by AAL2-equivalent MFA to preserve the integrity of the authentication protocols using the synced keys". Ask who owns that check for your synced passkeys.
Clarify the encryption boundaries for stored credentials. According to Apple, in iCloud Keychain, passkeys are end-to-end encrypted, so even Apple can’t read them. This encryption model means the passkey data is protected from the platform provider itself. Your security documentation should reflect this end-to-end encryption standard. When discussing data privacy with stakeholders, cite this specific encryption boundary to explain how passkey data is protected during storage and synchronization. NIST’s guidance also says that keys stored in a sync fabric "SHOULD be encrypted using a method that employs a user-controlled secret". Ask whether your own documentation can say the same of your sync design.
Use these facts to annotate your signup brief. Mark where the Apple-specific Face ID or Touch ID prompts appear in the user journey. Note the iCloud Keychain syncing behavior for users with multiple Apple devices. Record the end-to-end encryption boundary for passkeys in iCloud Keychain. Finally, specify the device-held private key and server-held public key split in your technical requirements. This precise documentation ensures your engineering team builds the flow with the correct security assumptions.
Illustrative example: a four-step brief
Suppose a team writes a brief with 4 steps. Under step 1 it lists the 4 resources to review. Under step 2 it lists the 3 data packets. Under step 3 it names the create() call as the trigger. Under step 4 it notes that the private key stays on the device and the server keeps the public key. Reviewers can then check all 4 steps in one pass.
Next step: annotate your brief today
Open your current signup brief and add one line for each of the four steps above, with the source link beside it. Then compare the result with your onboarding checklists, check the first-session messages a new user will see after registering, and confirm the signup page reflow width rules still hold on the page that triggers the passkey prompt.
Passkey FAQ for new accounts
How does a passkey registration flow create a new account credential?
When navigator.credentials.create() is used with the publicKey option, the user agent creates new credentials through an authenticator according to MDN. This process applies either to registering a new account or to associating a new asymmetric key pair with an existing account according to MDN.
What information does the server send during registration?
The relying party server sends user and relying party information to the web app handling the registration process according to MDN. The server also sends the "challenge" to the web app using an appropriate secure mechanism, such as Fetch or XMLHttpRequest, according to MDN.
Does the documented Apple signup experience apply to my non-Apple signup flow?
No, the documented Apple experience is specific to Apple platforms, so do not assume it applies elsewhere. It describes saving and using a passkey with one-step account creation and sign-in using Face ID or Touch ID according to Apple.
Which WebAuthn resources can my developers use for implementation?
Developers can start with the WebAuthn Walk-Through, an introduction to WebAuthn/FIDO2 using Yubico’s Java WebAuthn Server according to Yubico. This walkthrough provides the implementation context for the server-side registration process according to Yubico.
What credential information stays on the device and server?
The private key is securely stored on the device according to Yubico. The server stores the public key and randomly generates challenges for the authenticator to sign according to Yubico.