---
url: 'https://www.corbado.com/blog/guest-checkout-passkeys'
title: 'Guest Checkout Passkeys: Enroll without Account Takeover'
description: 'Compare three ways to offer guest checkout passkeys. Learn when to verify a new shopper''s email and when an existing account can activate a pending passkey.'
lang: 'en'
author: 'Vincent Delitz'
date: '2026-11-26T10:05:24.157Z'
lastModified: '2026-11-26T10:05:24.157Z'
keywords: 'guest checkout passkeys, passkey after guest checkout, passkey enrollment guest shoppers, account pre-hijacking passkeys, post-purchase passkey creation'
category: 'Passkeys Strategy'
---

# Guest Checkout Passkeys: Enroll without Account Takeover

## Key Facts

- **A guest checkout email is only a claim:** anyone can type a customer's email
  into a guest checkout. A passkey that becomes usable on the matching account because of
  that order hands an attacker a permanent credential.
- **The problem is not new:** shops already send confirmations and link orders based on an
  unverified email. Only a naive passkey offer that lets the email decide turns a
  misdirected email into a lasting credential.
- **Three enrollment options:** verify before creating a passkey, keep it pending until
  a later visit or offer it only after sign-in. For an existing account, each option must
  meet the shop's usual requirements for adding a credential.
- **Conditional create does not apply:** automatic passkey upgrades in Chrome and Safari
  require a recent password sign-in, which a guest checkout never has.
- **Account enumeration is a managed risk:** most shops already reveal known emails through
  email-first login. An account-aware thank-you page is acceptable in e-commerce if bot
  protection, rate limits and clean responses come with it.
- **Map the flows before you build:** the share of guest, express and signed-in orders,
  the drop-off points of each flow and their conversion rates decide how much each pattern
  can reach.

## 1. Introduction

Guest checkout passkeys look like the obvious next step for most e-commerce teams that
roll out passkeys. Within weeks those teams face the same question: what about the
shoppers who never sign in? Guest checkout exists because forced account
creation costs orders. In [Baymard's latest survey](https://baymard.com/blog/cart-abandonment-rate)
18% of US shoppers who abandoned an order did so because the site wanted them to create an
account. As a result, a large share of orders, often from returning customers, comes from
shoppers who are not logged in and who never see the passkey offer after login.

The thank-you page looks like the perfect fix. The shopper has just completed a purchase,
typed their email and is in a good mood. One biometric prompt ("Save a passkey for faster
checkout next time") would turn a guest into a logged-in customer for every future visit.
Our articles on [guest checkout vs forced login](https://www.corbado.com/blog/guest-checkout-vs-forced-login) and
[how passkeys increase conversion](https://www.corbado.com/blog/passkeys-increase-conversion) describe the size of
that opportunity. This article covers how to take it safely.

The catch is the email. Guest checkout accepts any address without checking it and in
many shops that address already belongs to an account. If a passkey created after a guest
order is attached to that account, whoever placed the order now holds a credential for
it. This article covers:

1. Why the unverified checkout email is an old problem and what a passkey changes
2. Three enrollment patterns and when each can authorize a passkey
3. Design rules that apply to every pattern: account enumeration, code abuse, enrollment
   cookies, user handles, pending credentials, order linking and express checkout
4. How to map your checkout flows and measure where enrollment reaches your shoppers

## 2. Why a Checkout Email is not Proof of Ownership

### 2.1 The Problem exists today

Guest checkout has always accepted emails that do not belong to the shopper. A typo, a
gift ordered under the recipient's address, a family sharing one inbox or a fraudster
using a stolen identity all produce orders with someone else's email. Shops live with
this today. What a passkey changes depends on how the shop implements the offer:

| Situation | Today, without passkeys | Naive offer: email match decides | Offer with verification (sections 3 and 4) |
| --- | --- | --- | --- |
| Order with someone else's email | Confirmation and shipping mails reach the email owner | The person who ordered also holds a login to the owner's account | No passkey becomes usable without the owner's email code or a sign-in |
| Earlier guest orders linked by email | Foreign orders show up in the owner's order history | The person who ordered sees the owner's history, addresses and payment methods | Orders are linked only after verification |
| Post-purchase "save your details" for an existing email | The shop typically asks the shopper to sign in | A silently attached passkey skips that sign-in | Known emails sign in or enter a code first |
| Post-purchase account creation for a new email | Without verification, an account exists in the owner's name | The account also carries the other person's passkey | Account and passkey exist only after the email is verified |

The unverified email is not a new weakness. Today it mostly leads to misdirected mail
and mixed-up order histories. Only a naive offer that lets the email decide turns it into
a lasting credential on someone else's account. The rest of this article is about the
last column: section 3 compares three patterns that verify before a passkey becomes
usable and section 4 adds the protections around them.

### 2.2 Three Cases behind one Guest Order

A guest order looks the same in the checkout UI no matter whose email was typed. On the
server it falls into one of three cases and each case carries a different risk.

In all three cases the shop holds an address that nobody has proven to control in this
session. The difference is what a passkey would end up bound to: a new account in someone
else's name, the real customer's existing account or an account matched through a
provider's data.

### 2.3 What goes wrong when the Email decides

The attacker needs nothing more than the victim's email address. In their study of
[account pre-hijacking](https://arxiv.org/abs/2205.10174), Sudhodanan and Paverd assumed
exactly that attacker and found at least 35 of 75 popular online services vulnerable to
one or more variants. The
[Microsoft Security Response Center summary](https://www.microsoft.com/en-us/msrc/blog/2022/05/pre-hijacking-attacks)
names one of them the "trojan identifier": the attacker attaches an identifier of their
own to an account before the victim takes it over and uses it later to get back in. A
passkey created after a guest order for an email without an account is exactly that. For
an email that already has an account, the same shortcut is worse: a direct takeover
through an unverified credential binding.

The following sequence shows the attack against a shop that attaches post-purchase
passkeys by email match:

```mermaid
sequenceDiagram
    participant A as Attacker
    participant S as Shop
    participant V as Real Customer
    A->>S: Guest order with customer's email
    S->>A: Thank-you page: "Save a passkey?"
    A->>S: Creates passkey on own device
    S->>S: Email matches account, passkey attached
    Note over S,V: Customer keeps using password, sees nothing
    A->>S: Signs in with passkey
    S->>A: Session on customer's account (addresses, orders, payment methods)
```

Four failure modes follow from the same root cause:

- **Takeover of an existing account:** the attacker signs in with their passkey at any
  time. A password reset by the real customer does not remove it unless the reset also
  revokes passkeys, because the passkey is a legitimate credential on the account. Our article on
  [passkey enrollment security](https://www.corbado.com/blog/passkey-enrollment-security) describes why an
  attacker passkey is worse than a stolen password.
- **Pre-hijacking a new email:** the attacker creates an account for an email that has no
  account yet. When the real owner later signs up or recovers the account, the
  attacker's passkey is already there.
- **Order history leaks:** shops that attach earlier guest orders to an account by email
  match show names, addresses and purchase history to whoever controls that account.
- **Account enumeration:** a thank-you page that says "You already have an account, add a
  passkey to it" tells whoever placed the order that the email belongs to a customer. Each
  probe costs the attacker an order, although unpaid or cancelled orders keep that cost
  low. Section 4.1 covers when shops accept this.

Purchase completion does not change the picture. A successful payment proves only that
someone paid. It says nothing about who controls the account behind the email. A gift order, a shared family
address or a fraudster testing stolen cards all produce a valid order.

### 2.4 Why the usual Passkey Append Paths do not fit

The common ways to collect passkeys from existing users all assume an authenticated
session:

- **Append after login:** the post-login prompt described in our guide on
  [passkey creation best practices](https://www.corbado.com/blog/passkey-creation-best-practices) relies on the
  login that just happened. A guest has not logged in.
- **Conditional create:** automatic passkey upgrades are gated behind a password sign-in.
  [Chrome's documentation](https://developer.chrome.com/docs/identity/webauthn-conditional-create)
  states that magic links, phone verification and federated sign-in do not meet the
  condition. The password also has to be saved in the user's password manager. A guest
  checkout has none of this, so [conditional create](https://www.corbado.com/blog/conditional-create-passkeys)
  is not available on the thank-you page.

What remains is a regular, user-initiated passkey creation. The design question is what
the shop does with the credential once the shopper has created it.

## 3. Three Enrollment Patterns for Guest Checkout Passkeys

The patterns differ in when the shop verifies a new shopper's email or authorizes a new
credential on an existing account.

### 3.1 Pattern A: Verify, then create

The thank-you page offers the passkey. When the shopper accepts, the shop sends a one-time
code to the checkout email. The shopper enters it on the same page. For a new customer,
that verifies the address for sign-up. For an existing account, the shop also applies its
usual requirements for adding a credential, including any additional factor. Once those
checks succeed, start WebAuthn registration. For an existing account the shop can now
include its credential IDs in `excludeCredentials` to avoid creating a duplicate.

Shops that show account status on the thank-you page (section 4.1) can route a known
email to an ordinary sign-in instead of a code. The passkey is then added like any append
after login.

```mermaid
flowchart TD
    A["Order completed as guest"] --> B["Offer: 'Save a passkey for next time'"]
    B -->|Accepted| C["Send code to checkout email"]
    C --> D{"Code entered<br/>in this session?"}
    D -->|No| E["No passkey, guest order stays as is"]
    D -->|Yes| F{"Account exists<br/>for this email?"}
    F -->|Yes| I["Meet account's requirements for adding a passkey"]
    I --> G["Create passkey on existing account<br/>+ notify account owner"]
    F -->|No| H["Create verified account<br/>+ passkey"]
```

If the code or the account checks fail, the shop never starts the WebAuthn ceremony, so
nothing is stored on the device. A local leftover is only possible when the device has
already created the passkey and the server then rejects the registration response or
never receives it, for example after a timeout or a closed tab. The passkey then exists in
the credential manager but not on the server. Call `signalUnknownCredential` with its
credential ID where the browser supports it, so the credential manager removes it (see
section 4.6).

- **Pros:** verification and enrollment finish in one visit, the server never stores a
  credential of unknown ownership and there is no extra state to manage.
- **Cons:** one more step after the purchase is done. Every step on a thank-you page costs
  completion and the code has to arrive while the shopper is still on the page. Email
  delivery delays, spam filters and switching to the mail app all count against it.

### 3.2 Pattern B: Pending Passkey, activate later

At checkout the shopper chooses to save a passkey. Explain that setup will finish on a
later visit. The shop stores the credential as pending. The order is complete and the
passkey grants no account access. Five days later, even if the checkout session has
expired, the shopper can finish in either of two ways.

1. **Passkey selected at sign-in:** [Conditional UI](https://web.dev/articles/passkey-form-autofill)
   can offer the pending passkey in the sign-in form. Look up the credential by ID and
   verify its assertion. Then send a one-time code to the checkout email and ask for it
   during this visit, whether the email is new or known. For a new customer, a correct
   code completes sign-up and activates this passkey. For an existing account, apply any
   additional checks required to add a passkey in account settings before activation.
2. **Ordinary sign-in to an existing account:** at checkout the shop sets an enrollment
   cookie (section 4.4) and tells the shopper that signing in here later will finish
   setup. On return, the shop may automatically activate that one passkey if the cookie
   identifies an unexpired enrollment for the same account ID and the fresh sign-in meets
   the account's requirements for adding a credential. This saves a second passkey prompt.
   If the cookie is missing or belongs to another account, ordinary sign-in still works
   and leaves the pending passkey inactive.

The cookie option trades a prompt for a shared-browser risk. Suppose one person saves a
passkey on their phone while checking out on a shared laptop. If the account owner signs
in on that laptop five days later, the cookie still matches. Automatic activation would
authorize the first person's passkey. A shop that needs to cover this case should ask the
shopper to use the pending passkey during activation.

The cookie option fits mobile checkouts best. Phones are personal devices that are rarely
shared, so the shared-browser case hardly occurs there. Passkey readiness is also highest
on mobile, which gives the thank-you offer the biggest adoption potential. A shop can
allow cookie activation for mobile checkouts only and ask desktop shoppers to use the
pending passkey.

If the email owner completes a separate verified sign-up first, discard the outstanding
guest enrollments for that address. When activation itself completes sign-up, keep only
the credential used in that attempt.

- **Pros:** checkout stays short and shoppers can finish setup when they return.
- **Cons:** the backend must track pending credentials, enforce expiry and handle
  shoppers who return through a different browser. Pending passkeys also show up in the
  credential manager before they work (section 4.6).

The pending state has a life cycle of its own and every state needs a defined behavior:

```mermaid
stateDiagram-v2
    [*] --> Pending: Passkey created after guest order
    Pending --> Active: Specific enrollment authorized
    Pending --> Expired: No verification within N days
    Pending --> Removed: Recovery, verified sign-up or owner rejects it
    Expired --> Removed: Clean up and signal unknown credential
    Active --> [*]
    Removed --> [*]
```

Activation is a one-time change. In the same server operation, check that the enrollment
is still pending and unexpired, activate only its credential and consume the enrollment.
A recovery or expiry that already invalidated the record also invalidates its cookie.

### 3.3 Pattern C: Enroll only in authenticated Flows

The shop does not offer passkeys after guest orders at all. It offers them after a
successful login, after account recovery, in account settings and in the native app where
the customer is already signed in. Guest checkout stays unchanged.

This is the pattern most large e-commerce deployments we analyzed follow today.
[eBay](https://www.corbado.com/blog/ebay-passkeys) shows its passkey prompt after the first password login and
[KAYAK](https://www.corbado.com/blog/kayak-passkeys) offers passkeys in the account settings. Our overview of
[e-commerce authentication](https://www.corbado.com/blog/ecommerce-authentication) covers the 19 of 50 leading
B2C brands that support passkeys, many of which also offer guest checkout.

- **Pros:** no new attack surface and no new state. The standard append flows and
  conditional create work as documented.
- **Cons:** it misses exactly the shoppers the thank-you idea was meant to reach. Guests
  who rarely or never sign in stay guests.

### 3.4 Comparing the Patterns

| Criterion | A: Verify, then create | B: Pending, activate later | C: Authenticated flows only |
| --- | --- | --- | --- |
| Steps on the thank-you page | Offer, code, biometric | Offer, biometric | None |
| Reaches guests who never sign in | Yes | Yes, once they return | No |
| Credential of unknown ownership stored | Never | Until activation or expiry | Never |
| Backend changes | Code step before registration | Pending state, activation, expiry, cleanup | None |
| First passkey login | Passkey only | Account checks if still pending | Passkey only |
| Reveals whether an account exists | Only with an account-aware offer | Only with an account-aware offer | No |

"Biometric" is a simplification here: it stands for the local user verification on the
device, which can also be a device PIN or pattern. The biometric never leaves the device.
Section 4.1 explains when an account-aware offer is acceptable and which mitigations it
needs.

None of the three is the right answer for every shop. Pattern A suits shops with fast,
reliable email delivery and a short thank-you page. Pattern B suits shops where the
thank-you page has to stay a single tap and returning guests come back often enough to
activate. Pattern C is the right default when guest orders are a small share or when the
team cannot yet build the verification step safely. Section 5 shows how to decide with
your own data.

## 4. Design Rules for every Pattern

### 4.1 Account Enumeration: a managed Risk

Account enumeration means that a response tells an outsider whether an email belongs to an
account. Banks and other regulated services usually treat that as unacceptable. The
[OWASP Authentication Cheat Sheet](https://cheatsheetseries.owasp.org/cheatsheets/Authentication_Cheat_Sheet.html)
asks for identical responses for existing and new users, covering text, response timing
and redirect targets alike.

E-commerce usually decides differently. The email-first login described in our article on
[guest checkout vs forced login](https://www.corbado.com/blog/guest-checkout-vs-forced-login), used by brands like
Wayfair, Amazon and Nike, shows a password field for known emails and a guest flow for new
ones. It reveals account status on purpose because recognizing returning customers lifts
conversion. Against that baseline the thank-you page adds little: each probe there costs
the attacker an order, while the login form answers for free.

A shop therefore has two legitimate designs:

- **Uniform offer:** every guest sees the same offer and every address gets the same code
  message. The shop decides which account a passkey belongs to only after the code is
  entered. This is the right choice where the login itself hides account status.
- **Account-aware offer:** a known email sees "You already have an account: sign in to
  save a passkey". This matches email-first login, routes known customers into an
  ordinary append and avoids duplicate passkeys (section 4.5).

The account-aware offer is an accepted risk only with mitigations built in:

- **Bot protection:** run the shop's bot management on checkout, the passkey offer and
  the code endpoint, so scripted order runs are stopped before they reach the offer.
- **Rate limits:** limit account-aware responses per device, IP address and payment
  instrument, as for the email-first login.
- **Order signals:** watch for many guest orders with different emails from one device or
  for unpaid orders that are followed by a look at the offer.
- **No credential IDs for guests:** never send `excludeCredentials` with the account's
  credential IDs to an unauthenticated guest. It would prevent a duplicate on the same
  device, but it tells anyone who types the email that the account has passkeys and how
  many. Our article on
  [passkey login and account enumeration](https://www.corbado.com/blog/passkey-login-account-enumeration)
  explains why credential ID lists in unauthenticated responses are a signal.

### 4.2 Protect the Code Endpoint

Patterns A and B send codes to an email that nobody has verified yet. That endpoint can
be abused to send mail to arbitrary addresses or to flood a customer's inbox. Protect it
like any other code-sending endpoint:

- **Offer only after a placed order:** the code request needs a valid order from this
  session, so the endpoint cannot be called on its own.
- **Bot protection:** check the request with the shop's bot management before a code is
  sent.
- **Rate limits per email, IP address and device:** plus a daily cap of codes per address
  so one customer cannot be flooded.
- **Short-lived single-use codes:** expire codes after a few minutes and bind each one to
  a single enrollment (section 4.3).
- **Clear message:** state that the code adds a passkey to the account and that the
  customer should ignore it if they did not just ask for it.
- **Monitor unexpected code reports:** customers who report codes they did not request are
  the early warning for someone trying the flow with their email.

### 4.3 Bind Verification to one Enrollment

When sending an enrollment code, tie it to one credential enrollment and to the session
that requested it. A customer who signs in on their own phone with an ordinary login code
must leave a pending passkey in somebody else's browser inactive. The same applies when
the customer clicks a link in an order confirmation.

For email verification, the diagram shows what happens when a customer receives an
unexpected message:

```mermaid
flowchart LR
    subgraph Safe["Code typed in the session that holds the passkey"]
        A1["Attacker creates pending passkey<br/>with customer's email"] --> A2["Code goes to customer's mailbox"]
        A2 --> A3["Attacker cannot type it"]
        A3 --> A4["Passkey expires unused"]
    end
    subgraph Unsafe["Link that activates on any device"]
        B1["Attacker creates pending passkey<br/>with customer's email"] --> B2["'Confirm your account' link<br/>goes to customer's mailbox"]
        B2 --> B3["Customer clicks on own phone"]
        B3 --> B4["Attacker's passkey becomes active"]
    end
```

Accept the code or link only in the session completing that enrollment. Signing in or
clicking a confirmation link in an unrelated session must leave the pending credential
inactive.

### 4.4 The Enrollment Cookie

The cookie route in section 3.2 needs a cookie that only the shop can issue and that
proves one thing: this browser started this enrollment. Set it server-side as a
host-only cookie with `Secure`, `HttpOnly` and `SameSite=Lax`. Its value is a random
reference to the server-side enrollment record. A signed JWT can carry the reference too,
but the signature only protects it from tampering.

A signature does not make the cookie device-bound. `HttpOnly` keeps page scripts from
reading it, but infostealer malware that copies the browser's cookie store can replay it
in another browser. Like any session cookie it is a
[bearer token](https://pages.nist.gov/800-63-4/sp800-63b/session/): anyone holding it can
present it. In practice it is browser-bound, so the customer has to come back in the same
browser on the same device. Real device binding needs
[Device Bound Session Credentials (DBSC)](https://www.corbado.com/blog/device-bound-session-credentials-dbsc),
which Chrome supports on Windows and is rolling out on macOS, but not on mobile, where the
cookie route fits best.

The design therefore never lets the cookie decide alone:

- **Cookie plus fresh sign-in:** activation needs the cookie and a fresh, authorized
  sign-in to the matching account. A stolen cookie without the account's credentials
  activates nothing.
- **Expiry and single use:** enforce both on the server. A recovery or expiry that
  invalidated the enrollment record also invalidates the cookie.
- **Separate from other cookies:** keep the enrollment cookie apart from session and
  remembered-device cookies, so clearing one does not affect the others.

### 4.5 User Handle, Overwrite and duplicate Passkeys

The [WebAuthn Level 3 specification](https://www.w3.org/TR/webauthn-3/#dictionary-user-credential-params)
requires the user handle (`user.id`) to be free of personally identifying information
such as an email address and recommends 64 random bytes stored with the account. A user
handle derived from the email would let anyone who knows the email create a credential
that carries the same handle as the real account.

The user handle also decides what happens when a customer who already has a passkey for
the account saves another one after a guest order on the same device:

- **Same user handle as the account:** the specification lets an authenticator keep only
  one discoverable credential per RP ID and user handle. The credential manager itself
  replaces the existing passkey with the new, pending one. No Signal API call is involved
  and the server is not told. The server keeps the old public key, which no device can use
  any more. The customer still has one passkey, but it needs activation, so their next
  login asks for a code instead of a single tap. If they never activate it, they lose the
  passkey in that credential manager and fall back to their other login method.
- **New user handle for the pending passkey:** the credential manager keeps both. After
  activation the customer has two passkeys for the same shop in the same credential
  manager. Every Signal API call then has to be sent per user handle, because calls such
  as `signalAllAcceptedCredentials` and `signalCurrentUserDetails` work per handle. Our
  article on [WebAuthn user ID and user handle](https://www.corbado.com/blog/webauthn-user-id-userhandle) covers
  the trade-offs of user handle design.

A separate handle per pending passkey adds complexity that few shops need. The simpler
path is to avoid the duplicate before it is created:

- **Sign in first:** with an account-aware offer (section 4.1) or Pattern A, the passkey is
  created after the account is known and `excludeCredentials` stops the duplicate.
- **Use remembered-device signals:** a cookie from an earlier passkey sign-in can lead the
  shop to offer "Sign in with your passkey" instead of a new one. The credential may since
  have been deleted, so treat it as a hint.
- **Keep both if a duplicate exists:** both passkeys belong to the verified owner after
  activation. The server cannot reliably tell whether both sit in the same credential
  manager, since the AAGUID names only the provider. Show both in the passkey management
  with provider and creation date and let the customer remove one.

### 4.6 Life Cycle of pending Passkeys

Pattern B stores credentials of unknown ownership, so it needs explicit limits:

- **Expiry:** delete pending passkeys that were not activated within a fixed period.
- **Cap per account:** allow only a small number of pending passkeys per email. A flood
  of pending credentials on one account is an attack signal.
- **Rate limits:** limit pending passkey creation per device and per IP address, so the
  thank-you page cannot be scripted into a credential factory.
- **Notify on activation:** send the account owner a notification over an independent
  channel when a passkey becomes active, as
  [NIST SP 800-63B-4](https://pages.nist.gov/800-63-4/sp800-63b/events/) requires for
  every newly bound authenticator.

Pending passkeys are also a UX problem. They sit in the credential manager and in the
passkey picker before they work and after expiry they are dead entries. While pending,
that is intended: selecting the passkey at sign-in starts activation (route 1 in section
3.2). After expiry the [WebAuthn Signal API](https://www.corbado.com/blog/webauthn-signal-api) can clean up:

- **Dead passkey selected at sign-in:** reject it and call `signalUnknownCredential` with
  its credential ID, so the credential manager removes it.
- **Return visit in the same browser:** if the enrollment cookie points to an expired
  enrollment, call `signalAllAcceptedCredentials` for that user handle without the
  expired credential. With the account's own user handle the list must contain all of
  the account's active credentials, otherwise working passkeys disappear as well.

The clean-up is best effort. Chrome and Edge from version 132, Chrome for Android from
version 144 and Safari 26 with iCloud Keychain support the calls, Firefox does not. The
API returns no feedback and the removal methods have known issues on Apple platforms,
which our Signal API article lists. Where the calls are not supported the dead passkey
stays until the customer deletes it.

The visible label matters as well. `user.name` and `user.displayName` appear in the
credential manager. For a pending passkey, the email typed at checkout is an unverified
value chosen by whoever placed the order. A neutral label such as the shop name plus
"customer account" avoids showing an unverified address and can be updated with
`signalCurrentUserDetails` after activation.

### 4.7 Link Guest Orders only after Verification

Many shops attach earlier guest orders to an account once an account exists for the same
email. Do this only after the email was verified in the session that holds the passkey.
Order history contains names, delivery addresses and purchase patterns, which is exactly
the data an account squatter is looking for.

### 4.8 Treat Express Checkout Emails as unverified

Express checkout with a wallet or a payment provider returns an email address with the
order. That address is what the provider stores for the payer. Unless the provider
documents that it verified the address and you accept that verification for binding a
credential to an account, treat it like any other unverified email. The pre-hijacking
study calls the account-level version of this mistake the "non-verifying IdP" attack:
trusting an identity source that never verified the email it hands over.

### 4.9 Recovery removes pending Credentials

Account recovery and password resets are where the real owner takes back control. Remove
all pending passkeys at that moment, show the customer every active passkey on the
account and let them remove unknown ones. The
[MSRC recommendations](https://www.microsoft.com/en-us/msrc/blog/2022/05/pre-hijacking-attacks)
for password resets make the same point for sessions and linked identifiers.

## 5. Map the Flows before you choose where to enroll

### 5.1 Order Mix decides the Reach

The value of each pattern depends on how orders split across checkout paths. Before
building a verification step, measure four groups:

- **Signed-in orders:** reached by the standard append after login (Pattern C)
- **Guest orders with a new email:** reached only by Pattern A or B
- **Guest orders with an email that matches an account:** returning customers who did not
  sign in, the "ghost users" from our
  [guest checkout article](https://www.corbado.com/blog/guest-checkout-vs-forced-login). They gain most from a
  passkey and carry the highest takeover risk
- **Express checkout orders:** bypass the login and reach the offer only if the shop
  shows its own confirmation page afterwards. Where it does, Patterns A and B apply with
  the provider's email treated as unverified

As the figure shows, Pattern C reaches only signed-in orders. If they already dominate,
the extra work of A or B buys little. If guest orders with known emails make up a large
share, that segment usually justifies the verification step.

### 5.2 Map each Flow and its Drop-off Points

The order mix tells you how many shoppers each flow carries. It does not tell you where
they get lost. Map every flow step by step and measure the conversion from each step to
the next, per device type:

```mermaid
flowchart LR
    C["Cart"] --> P{"Checkout path"}
    P -->|Signed in| S1["Login step"] --> S2["Order placed"] --> S3["Passkey append<br/>after login"]
    P -->|Guest, new email| G1["Guest form"] --> G2["Order placed"] --> G3["Thank-you offer"]
    P -->|Guest, known email| K1["Guest form"] --> K2["Order placed"] --> G3
    P -->|Express| E1["Wallet sheet"] --> E2["Order placed"] --> E3{"Own confirmation<br/>page?"}
    E3 -->|Yes| G3
    E3 -->|No| E4["No offer"]
    G3 --> V["Code or sign-in<br/>(A) / pending (B)"] --> U["Passkey usable"]
```

Every arrow is a drop-off point. The ones that decide between the patterns are the login
step for signed-in orders, the acceptance rate of the thank-you offer, the code step of
Pattern A and the return visit of Pattern B. A flow with a high login drop-off makes
Pattern C weak, because the shoppers who abandon at login never see the append prompt.
A flow with a low offer acceptance makes every pattern weak, which is a copy and timing
problem before it is an architecture problem.

Measuring this requires data that sits on both sides of the login: the checkout path
from the commerce platform and the authentication outcome from the identity stack.
Login-only analytics see only the orders that went through the login, so guest and
express orders stay invisible. Our article on
[e-commerce funnel analysis](https://www.corbado.com/blog/ecommerce-funnel-analysis) shows how to split the
funnel by path.

### 5.3 Metrics per Pattern

Track the enrollment funnel per pattern and per checkout path, not as one blended rate:

| Step | Pattern A | Pattern B |
| --- | --- | --- |
| Offer shown | Thank-you page views with offer | Thank-you page views with offer |
| Offer accepted | Taps on the offer | Taps on the offer |
| Verification | Codes sent, codes entered | Checks completed, by activation route |
| Credential | Passkeys created | Pending passkeys created |
| Usable | Equal to created | Activated before expiry |
| Value | Passkey logins in the next 90 days | Passkey logins in the next 90 days |

Three numbers deserve extra attention:

- **Code completion rate on the thank-you page (A):** if many shoppers request a code and
  never enter it, email delivery speed is usually the bottleneck.
- **Activation rate before expiry (B):** if most pending passkeys expire, shoppers do not
  return within the window or the activation step is confusing.
- **Unexpected code reports:** customers who report codes they did not request point to
  someone trying the flow with their email.

## 6. Decision Checklist

Use this list before a guest passkey offer goes live:

- [ ] A checkout email or a completed purchase alone never makes a passkey usable on an
  account
- [ ] The shop has decided between a uniform and an account-aware offer
- [ ] An account-aware offer comes with bot protection, rate limits and order monitoring
- [ ] No unauthenticated response contains the account's credential IDs
- [ ] Activation authorizes one pending credential and meets the account's enrollment policy
- [ ] If sign-in can activate a passkey by cookie, the shop accepts the shared-browser risk
- [ ] The enrollment cookie never activates a passkey without a fresh sign-in
- [ ] The code message says that it adds a passkey and what to do if unexpected
- [ ] User handles are random and contain no email or other personal data
- [ ] Pending passkeys have an expiry, a cap per email and a cleanup path
- [ ] Code requests and pending passkey creation are rate-limited per email, IP address and
  device
- [ ] The account owner is notified when a passkey becomes active
- [ ] Earlier guest orders are linked only after verification
- [ ] Express checkout emails are treated as unverified
- [ ] Recovery and password reset remove pending passkeys and list active ones
- [ ] Each checkout flow and its drop-off points are measured before and after launch

## 7. How Corbado can help

[Corbado Connect](https://www.corbado.com/connect) adds passkeys on top of an existing identity provider, so
accounts, sessions and checkout data stay with the shop. Its components cover the
post-login and post-recovery append flows of Pattern C and can be placed after the
verification step of Pattern A, while the shop's backend decides which account a verified
passkey belongs to.

[Video: Enrollment](https://www.corbado.com/videos/features/enrollment.mp4) ([See Passkey Enrollment in Corbado Observe](https://www.corbado.com/observe/passkey-enrollment))

- **Gated passkey offers:** Passkey Intelligence uses the device, the browser and the
  history of the user and the environment to decide whether to show a passkey offer, so
  shoppers are not asked where creation is likely to fail.
- **Session handoff:** Connect returns a signed result that the shop's backend verifies
  before it creates the session in its own identity stack, so the account decision stays
  in one place.
- **Passkey management:** customers see and remove their passkeys in the account
  settings, which supports the recovery rules in section 4.9.

To decide between the patterns with data, [Corbado Observe](https://www.corbado.com/observe), the
[authentication observability layer](https://www.corbado.com/blog/authentication-observability), measures from
the client side how often passkey offers are shown and how often passkeys are created,
split into conditional, automatic and manual creation.

## 8. Conclusion

Offering passkeys after guest checkout can bring returning shoppers into a logged-in
checkout. A new customer can finish sign-up by verifying the checkout email. An existing
customer must meet the account's normal requirements for adding a passkey. In both
cases the shop authorizes one specific enrollment.

Pick the pattern from your checkout flows. Verify-then-create gets everything done in one
visit, a pending passkey keeps the thank-you page at one tap and authenticated-only
enrollment avoids the problem at the cost of reach. Whichever you choose, decide
consciously how much account status the offer reveals, protect the code endpoint, keep
user handles random and measure each step per checkout path.

## Frequently Asked Questions

### Can I create a passkey for a guest shopper right after checkout?

Yes. Verify a new shopper's email before the passkey becomes usable. For an existing
account, require the same authorization as adding a passkey in account settings. A shop
can finish enrollment at checkout or keep the credential pending and activate that
specific passkey on a later visit.

### Why is the email entered at guest checkout not proof of account ownership?

Guest checkout accepts any email address without checking it. Anyone who knows a
customer's email can place a guest order with it. If a passkey created after that order is
attached to the existing account, the attacker gets a permanent credential on the victim's
account. If no account exists yet, the attacker can set one up in the victim's name with
their own passkey before the victim signs up, an attack researchers call account
pre-hijacking.

### Can conditional create (automatic passkey upgrades) be used after guest checkout?

No. Chrome and Safari only allow conditional passkey creation right after the user signed
in with a password saved in their password manager. A guest checkout involves no password
sign-in, so the post-purchase offer has to be a regular, user-initiated passkey creation.

### Does a passkey offer after guest checkout reveal which emails have an account?

Only if the offer differs for known emails. A shop that must hide account status shows
every guest the same offer, sends the same code message to every address and decides
which account the passkey belongs to only after the code is entered. Many e-commerce shops
already reveal known emails through email-first login and accept that risk for
conversion. They can show an account-aware offer such as "Sign in to save a passkey" if
they add bot protection, rate-limit offers and code requests and never send an account's
credential IDs to an unauthenticated guest.

### What happens if a customer who already has a passkey creates another one after guest checkout?

It depends on the user handle. If the new passkey uses the account's user handle, the
credential manager replaces the existing passkey for that account, so the customer keeps
one passkey that needs activation. With a new user handle, the customer ends up with two
passkeys for the same shop. The simplest way to avoid both is to let known customers sign
in first, so `excludeCredentials` prevents the duplicate. If two passkeys exist after
activation, keep both and let the customer remove one in the passkey management.
