Passkeys Support for AWS Cognito & Amplify

Passkeys Support for AWS Cognito & Amplify
AWS Cognito & Amplify Passkey support with Authsignal

Authsignal has just released our passkeys support for AWS Cognito and Amplify through 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

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 guide 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 a future blog posts.

References


AWS Coginto Passkeys Implementation Guide