Contact salesSign in
Blog
/
Current article

Passkeys Support for AWS Cognito & Amplify

Jul 17, 2023
Justin Soong
AWS Cognito & Amplify Passkey support with Authsignal

Learn how to enable Passkeys support for AWS Cognito and Amplify in your native iOS and Android applications with React Native using our implementation guide.

The guide walks through the simple steps to get your native application iOS and Android integrated with passkeys using React Native.

Android and iOS Passkey support on AWS cognito and amplify
Android and iOS Passkey support on AWS Cognito and amplify

Additionally, the guide talks through the following steps to configure and implement.

Example of React Native + Amplify (Sign in with passkeys)

import {Auth} from 'aws-amplify';
import {authsignal} from '../config';
...

let cognitoUser: any;

const onPressSignIn = async () => {
 cognitoUser = await Auth.signIn(userName);

 const {token} = cognitoUser.challengeParam;

 const {data} = await authsignal.passkey.signIn({token});

 await Auth.sendCustomChallengeAnswer(cognitoUser, data);
};

And that's it. It's that simple with the Authsignal SDKs and guides to get passkeys supported with AWS Cognito and Amplify, the same flows can also be achieved with web browser flows, and we'd cover this in future blog posts.

Talk to an expertDemo PasskeysView docs
Article Categories
You might also like
Unlock Passwordless for AWS Cognito
Authsignal's flexible integration model allows you to easily switch from using AWS Cognito's hosted UI to using Lambda triggers inorder to implement Passwordless.
NIST Passkeys Supplementary Guidelines: April 2024 Part 2 Implementation
Our initial analysis addressed the new NIST supplement for passkeys, breaking down the changes and clarifying positions regarding synced/syncable passkeys. In part 2, we focus on implementation considerations.
NIST Passkeys Supplementary Guidelines: April 2024 Part 1
NIST's supplement offers clarity on FIDO2 Passkeys, especially syncable ones, aiding adherence to NIST AAL standards.

Secure your customers’ accounts today with Authsignal.