Skip to content

Commit 2edd2c3

Browse files
committed
update user auth flow description
1 parent 65e2f24 commit 2edd2c3

File tree

1 file changed

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

1 file changed

+0
-10
lines changed

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

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -171,14 +171,6 @@ await signIn({
171171
172172
## USER_AUTH flow
173173

174-
In order to facilitate the new passwordless sign in options, Cognito is introducing a new auth flow type known as `USER_AUTH`. This flow is designed to be flexible and supports both password and passwordless sign in factors.
175-
176-
### Set up auth backend
177-
178-
Configure supported flows in your Cognito app client. In the AWS Console, this is done by ticking the checkboxes at General settings > App clients > App client information (Edit) > App client flows. If you're using the AWS CLI or CloudFormation, update your app client by adding `USER_AUTH` to the list of "Explicit Auth Flows".
179-
180-
### User authentication flow
181-
182174
The `USER_AUTH` sign in flow will support the following methods of first factor authentication: `WEB_AUTHN`, `EMAIL_OTP`, `SMS_OTP`, `PASSWORD`, and `PASSWORD_SRP`.
183175

184176
```ts
@@ -192,8 +184,6 @@ type AuthFactorType =
192184

193185
If the desired first factor is known before the sign in flow is initiated it can be passed to the initial sign in call.
194186

195-
Password flows will require the password to be passed in the same step. Passwordless flows do not require user input, and the challenges will be handled in the next sign in step:
196-
197187
```ts
198188
// PASSWORD_SRP / PASSWORD
199189
// sign in with preferred challenge as password

0 commit comments

Comments
 (0)