Contact salesSign in
Blog
/
Current article

Passkeys Support for AWS Cognito & Amplify

Published:
July 17, 2023
Last Updated:
July 25, 2024
Justin SoongAWS 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
Adaptive MFA for Auth0: Customize MFA UX to reduce consumer friction without upgrading your plan
In this blog post, we will dive deeper into how you can fine-tune the MFA user experience with only some minor tweaks to your integration code.
myGov Passkeys Implementation: Passkeys and MFA for Australia Government Services
Explore myGov's passkey implementation, enhancing Australia's government digital security amid rising cybercrime. Learn about best practices for implementing passkeys.
WhatsApp for 2FA and MFA: Enhancing Customer Experience and Reducing Costs with WhatsApp OTP
High SMS costs in Asia-Pacific and the prevalence of WhatsApp are driving enterprises to adopt WhatsApp OTPs for user verification, offering a cost-effective and reliable solution.

Secure your customers’ accounts today with Authsignal.