HIPAA & Compliance

Passwordless Sign-In for HealthTech Apps on Amazon Cognito: Passkeys, Email Codes or SMS?

Passkeys, email codes or SMS? How each passwordless authentication option works on Amazon Cognito, its limits, and a safe recovery design for healthcare apps.

SS

Shan Shafiq

Director of Product Strategy & Technology Solutions, Bitsol · Nov 17, 2026 · 11 min read

Passwordless Sign-In for HealthTech Apps on Amazon Cognito: Passkeys, Email Codes or SMS?

A patient who forgets a password has to tap "Forgot password," wait for an email and invent a new password. Some give up. In a FIDO Alliance survey of 1,389 people in five countries, 48% said they had abandoned an online purchase because they forgot their password. That survey covered shopping, not healthcare, but a health app can face the same problem. In a health app, the cost can be a missed medication log, an unread result or a support call.

Amazon Cognito has supported passwordless sign-in since November 22, 2024: passkeys, email one-time codes and SMS one-time codes. This HealthTech guide to passwordless authentication is for the founders and engineers who have to choose between those options. Every Cognito detail is linked to AWS documentation, pricing or announcements, and our own recommendations are marked "we recommend."

The short answer: we recommend passkeys for everyday sign-in, and email codes only to confirm an address and to recover an account. The rest of this guide explains why, what Cognito requires, and where it limits you.

Last reviewed December 1, 2026. Cognito pricing and Amplify support can change, so check the linked AWS pages before you build.

Step 1: Understand passwordless authentication in healthcare apps

The Cognito documentation puts it plainly: "Passwords can be lost or stolen." A forgotten password locks a patient out of their own care, and a reused or phished password lets someone else in. Passwordless sign-in removes the thing the patient has to remember, so the forgot-password flow stops being part of everyday sign-in.

Cognito offers three options. With a one-time code, Cognito sends a code by email or SMS that the user must confirm. With a passkey, the patient unlocks a credential stored on their device with Face ID, a fingerprint or a PIN, and no code is sent.

How a passkey works, in four steps

  1. Registration creates a key pair. The patient's device generates a unique public-private key pair for the account. The device keeps the private key and shares only the public key with the server.

  2. The server stores only the public key. Google notes that only the public key is stored by the site, "but this alone is useless to an attacker." For a passkey account, a stolen user database holds nothing an attacker can sign in with.

  3. Sign-in answers a challenge. The server sends a challenge, a piece of random data. The device signs it with the private key once the patient unlocks it with the device's screen lock, such as a fingerprint, face or PIN.

  4. A passkey only works with the app or site that created it. Passkeys are "bound to a website or app's identity," so a look-alike phishing site cannot use them.

Passkeys can sync securely across a user's devices, or stay bound to a single device. Apple syncs them through iCloud Keychain and Google through Google Password Manager.

Key terms

Step 2: Compare the three Cognito options

The three methods are not equally strong, and NIST SP 800-63B-4, the US government's authentication guideline, treats them very differently. It is written for US federal agencies. HIPAA does not require it, but we use it as a benchmark.

MethodHow the patient signs inWhat NIST saysBest used for
PasskeyFace ID, fingerprint or device PIN; no code to copySyncable authenticators, such as synced passkeys, may be used at AAL2 subject to NIST's requirements (Appendix B) but not at AAL3 (§2.3.2). Verifiers at AAL2 must offer at least one phishing-resistant option (§2.2.2).Everyday sign-in
Email one-time codeA code sent to a verified email addressEmail "SHALL NOT be used for out-of-band authentication" (§3.1.3.1), meaning a code sent over a separate channel to prove sign-in. Codes that confirm an email address, and recovery codes, are not treated as authentication.Confirming the address at sign-up, and account recovery
SMS one-time codeA code sent by text messageUse of the phone network is "restricted," and other authenticator types must also be available (§3.1.3.3).Recovery for patients without email

AWS describes passkeys as phishing-resistant, based on FIDO standards and public key cryptography. That makes them the strongest of the three: nothing to remember and no code to copy. Cognito still needs the username before it can start passkey sign-in, so we recommend that the app remembers the patient's email address on the device.

Step 3: Set up Cognito for passwordless sign-in

Six things must be in place. The first three apply to every passwordless method; the last three apply to passkeys only.

Step 4: Know the four limits to design around

Cognito's passwordless features come with four limits. Each one shapes a design decision in Step 5.

1. MFA and passwordless codes do not mix

Cognito says users can either have MFA or sign in with passwordless factors, with one exception: passkeys with user verification. In practice, you cannot require MFA in a user pool that allows email or SMS codes as sign-in factors. (Email and SMS codes can still work as a second factor after a password, but not as a passwordless first factor in a pool that requires MFA.) With FactorConfiguration set to MULTI_FACTOR_WITH_USER_VERIFICATION, a passkey with user verification satisfies MFA on its own.

2. Passkeys cannot be a second factor

Cognito says passkeys cannot be used as a second factor to password sign-in. The choice is a passkey instead of a password, not on top of one.

3. The hosted sign-up page still asks for a password

AWS notes that managed login and the hosted UI require a password on the sign-up page, even when passwordless sign-in is allowed. SDK-based SignUp does not. To remove passwords completely, build your own sign-up screen.

4. React Native has no built-in passkey support

The Amplify documentation says WebAuthn registration and authentication are not currently supported on React Native, while other passwordless features are. A React Native health app can use email and SMS codes through Amplify. For passkeys, we recommend a native module that calls Cognito's WebAuthn APIs directly. Check that page again before you build, because its support status can change.

Step 5: Design the patient login for a HealthTech app

In practice, a patient signs up with an email code, adds a passkey, and from then on signs in with Face ID. We recommend this flow for the patient-facing healthcare app login on Cognito:

  1. Sign up without a password. Collect the email address on your own screen, call SignUp with no password, and confirm the address with an email code.

  2. Offer a passkey straight after the first sign-in. Use StartWebAuthnRegistration and CompleteWebAuthnRegistration while the patient is signed in. Set user verification to required and the RP ID to your own domain before the first passkey is registered.

  3. Make the passkey the everyday sign-in. Start sign-in with USER_AUTH and PREFERRED_CHALLENGE set to WEB_AUTHN. We recommend treating the email code as a recovery step, not a second everyday sign-in method: after an email code, limit the session to registering a new passkey, and notify the patient. This limit is something your app enforces, not a Cognito setting. For patients whose device cannot use a passkey, we recommend a password with a second factor, not email codes alone.

  4. Make recovery safe. When a phone is lost, the patient recovers with a code sent to the verified email, removes the old passkey and registers a new one. The inbox becomes the recovery key, so we recommend four safeguards:

    • Notify the patient on every recovery and every new passkey.

    • Require a passkey sign-in, or a code sent to the old address, before the email address can change.

    • Give the patient a saved recovery code at sign-up, checked by your app, as a second recovery method for sensitive records.

    • Benchmark against NIST. To recover an account at AAL2, NIST SP 800-63B-4 requires one of three routes: two recovery codes obtained by different methods (saved codes, issued codes or recovery contacts), one recovery code plus sign-in with a single-factor authenticator already bound to the account, or repeated identity proofing if the account has been identity-proofed (§4.2.2.2). Every recovery must also send a notification (§4.2.3). NIST lists email, text message and voice as addresses an issued recovery code can be sent to (§4.2.1.2), so we treat an emailed code and an SMS code as one method, not two.

  5. Plan for synced passkeys and shared devices. Some platform passkeys sync to the cloud, such as Face ID passkeys in iCloud Keychain, so a patient who replaces a phone can keep their passkey. We recommend against registering a passkey on a shared or family device, because anyone who can unlock it can sign in.

  6. Keep staff in a separate user pool. When MFA is required for a user pool, all users must complete MFA, and a pool that allows email codes cannot require it. So we recommend a separate staff pool that requires MFA: passkeys with FactorConfiguration set to MULTI_FACTOR_WITH_USER_VERIFICATION, or a password with an authenticator app.

  7. Keep codes free of health information. We recommend that code messages carry only the code, the app name and the expiry time.

Step 6: Check the HIPAA fit and the cost

The HIPAA Security Rule requires unique user identification and procedures to verify that a person seeking access to electronic protected health information is the one claimed. The text of the rule does not name a sign-in method. In our view, a passkey with user verification is a strong way to meet that requirement: sign-in needs both the passkey and the patient's biometric or PIN.

HHS has proposed requiring multi-factor authentication in the Security Rule. The proposal, published January 6, 2025, is not final. In mid-2026 HHS moved its projected final action from May 2026 to July 2027 and listed it among long-term actions, as Davis Wright Tremaine reported in July 2026. As Step 4 showed, a pool that allows email codes cannot require MFA, and in the patient flow above someone who controls the inbox can bypass the passkey. If the final rule requires MFA for patient sign-in, email-code sign-in has to go. Cognito's MFA options then come down to password sign-in with a second factor, or passkeys with user verification when FactorConfiguration is set to MULTI_FACTOR_WITH_USER_VERIFICATION.

Confirm that every AWS service in the sign-in path is on the HIPAA Eligible Services list and covered by your Business Associate Addendum with AWS.

On cost, as listed in November 2026, Cognito Essentials charges $0.015 per monthly active user above a free tier of 10,000, and Plus charges $0.020 per monthly active user with no free tier. Email codes are billed through Amazon SES and SMS codes through Amazon SNS. A passkey sign-in sends no message, so message costs fall as more patients switch to passkeys.

How we approach passwordless sign-in

Bitsol builds healthcare software only, with 50+ healthcare products shipped. We recommend planning sign-in around the patient who opens the app only occasionally: passkeys first, email for recovery, and a separate, stricter pool for staff. For the wider authentication setup, including token lifetimes, revocation and logoff, see our guide to HIPAA-compliant authentication with AWS Cognito. For the full build, see the 12 engineering steps to a HIPAA-compliant application and our 8-week HIPAA-compliant MVP launch.

Frequently asked questions

What is a passkey?

A passkey is a sign-in credential made of a key pair. The private key is never sent to the app's server. It stays with the patient, on one device or synced across their own devices, and is unlocked with Face ID, a fingerprint or a PIN. The server stores only the public key, and the passkey works only with the app or website that created it.

Does Amazon Cognito support passwordless sign-in?

Yes. Since November 22, 2024, Cognito supports passkeys, email one-time codes and SMS one-time codes on the Essentials and Plus feature plans, through the choice-based USER_AUTH sign-in flow.

Which passwordless method is best for a healthcare app?

Passkeys. AWS describes them as phishing-resistant, and in Cognito a passkey with user verification can satisfy MFA. NIST does not allow email for out-of-band authentication and restricts SMS, so we recommend email and SMS codes for confirming an address and recovering an account, not for everyday sign-in.

Can I require MFA and still offer passwordless sign-in in Cognito?

Only with passkeys. Cognito does not allow email or SMS codes as passwordless sign-in factors when MFA is required. Passkeys with user verification can satisfy MFA when FactorConfiguration is set to MULTI_FACTOR_WITH_USER_VERIFICATION.

Does passwordless sign-in work in React Native apps?

Partly. Amplify supports email and SMS codes on React Native, but its documentation says WebAuthn registration and authentication are not currently supported there, so plan a native module for passkeys.

What happens when a patient loses their phone?

If their passkey synced to the cloud, as Face ID passkeys do through iCloud Keychain, it is available on their new phone once they sign in to the same Apple account. If not, they recover with a code sent to their verified email, remove the old passkey and register a new one. We recommend notifying the patient on every recovery and protecting changes to the email address.

SS

Written by

Shan Shafiq · Director of Product Strategy & Technology Solutions, Bitsol

Director of Product Strategy & Technology Solutions at Bitsol, focused on building scalable digital products, solving complex technical challenges, and turning ideas into reliable, user-focused solutions.

Follow on LinkedIn →
Share