Skip to content

Commit

Permalink
updated callout
Browse files Browse the repository at this point in the history
  • Loading branch information
yuhengshs committed Sep 10, 2024
1 parent fa3e3d4 commit 1317e10
Showing 1 changed file with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,11 @@ in addition to a password in order to verify the identity of users. These challe
or dynamic challenge questions. The `CUSTOM_WITH_SRP` flow requires a password when calling `signIn`. Both of
these flows map to the `CUSTOM_AUTH` flow in Cognito.

To define your challenges for custom authentication flow, you need to implement three Lambda triggers for Amazon Cognito.
<Callout>

To define your challenges for custom authentication flow, you need to implement three Lambda triggers for Amazon Cognito. Please visit [AWS Amplify Custom Auth Challenge example](/[platform]/build-a-backend/functions/examples/custom-auth-flows/) for set up instructions.

</Callout>

<Callout>

Expand Down Expand Up @@ -190,8 +194,6 @@ if (nextStep.signInStep === 'CONFIRM_SIGN_IN_WITH_CUSTOM_CHALLENGE') {
}
```

To create a CUSTOM_AUTH challenge with a Lambda Trigger, please visit [AWS Amplify Custom Auth Challenge example](/[platform]/build-a-backend/functions/examples/custom-auth-flows/) for setup instructions.

### CAPTCHA authentication

To create a CAPTCHA challenge with a Lambda Trigger, please visit [AWS Amplify Google reCAPTCHA challenge example](/[platform]/build-a-backend/functions/examples/google-recaptcha-challenge/) for detailed examples.
Expand Down

0 comments on commit 1317e10

Please sign in to comment.