Amazon Cognito has built-in passkey sign-in, but only on the Essentials and Plus feature plans. A user pool on the Lite plan doesn't get it. We wanted to know whether a Lite pool could still offer passkeys, so we tried it: the custom authentication Lambda triggers call an external passkey API, and Cognito keeps doing everything else. It works, and this post walks through the whole setup with the AWS CLI.
We use SealGate for passkey registration and verification. Cognito still issues the ID token, access token and refresh token after a successful sign-in, so the token verification in your app doesn't change.
How it fits together
Sign-in follows Cognito's custom authentication flow ( CUSTOM_AUTH ):
The browser calls Cognito's InitiateAuth with the username.
Cognito invokes the Create Lambda.β¦