Replies: 1 comment
-
|
Upgrading to 2.33.7 did the trick |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I had a call to create a user pool which was working as expected:
aws cognito-idp create-user-pool --pool-name my-user-pool --username-attributes email --admin-create-user-config AllowAdminCreateUserOnly=true
I wanted to create a user pool which allows EMAIL_OTP auth flow and so I added a --policies option and it's giving me a syntax error:
Parameter validation failed:
Unknown parameter in Policies: "SignInPolicy", must be one of: PasswordPolicy
Here's the command I tried. Comparing this to the docs, I can't see anything wrong with it. Are the docs wrong?
aws cognito-idp create-user-pool --pool-name my-user-pool --username-attributes email --admin-create-user-config AllowAdminCreateUserOnly=true --policies "SignInPolicy={AllowedFirstAuthFactors=[PASSWORD,EMAIL_OTP]}"
Beta Was this translation helpful? Give feedback.
All reactions