Skip to content

Commit 1317e10

Browse files
committed
updated callout
1 parent fa3e3d4 commit 1317e10

File tree

1 file changed

+5
-3
lines changed
  • src/pages/[platform]/build-a-backend/auth/connect-your-frontend/switching-authentication-flows

1 file changed

+5
-3
lines changed

src/pages/[platform]/build-a-backend/auth/connect-your-frontend/switching-authentication-flows/index.mdx

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,11 @@ in addition to a password in order to verify the identity of users. These challe
160160
or dynamic challenge questions. The `CUSTOM_WITH_SRP` flow requires a password when calling `signIn`. Both of
161161
these flows map to the `CUSTOM_AUTH` flow in Cognito.
162162

163-
To define your challenges for custom authentication flow, you need to implement three Lambda triggers for Amazon Cognito.
163+
<Callout>
164+
165+
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.
166+
167+
</Callout>
164168

165169
<Callout>
166170

@@ -190,8 +194,6 @@ if (nextStep.signInStep === 'CONFIRM_SIGN_IN_WITH_CUSTOM_CHALLENGE') {
190194
}
191195
```
192196

193-
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.
194-
195197
### CAPTCHA authentication
196198

197199
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.

0 commit comments

Comments
 (0)