InvalidPasswordException with 123456=abcABC

0

Hi AWS team,

our user pool is configured like this:
Email address or phone number - Users can use an email address or phone number as their "username" to sign up and sign in.
=> Allow both email addresses and phone numbers (users can choose one)

Our password policy is:
Minimum length: 8
=> checked - Require numbers
=> checked - Require special character
=> checked - Require uppercase letters
=> checked - Require lowercase letters

We use Amplify to sign up users with email and password like this:
signUp({
email: mail,
password: password,
username: mail
})

Regarding your documentation from here
https://docs.aws.amazon.com/cognito/latest/developerguide/user-pool-settings-policies.html
the "+" and "=" are in the list of special characters.
So it should be possible to sign up users with the password
123456=abcABC or 123456+abcABC

BUT we get "InvalidPasswordException - Password did not conform with policy: Password must have symbol characters".

It works when I replace the = with !

Any information why this happens with the characters "=" and "+"?
Do we need to change our configuration?

If you need more information, just ask. =)

Best regards,
devBaum

devBaum
已提问 3 年前773 查看次数
1 回答
0

I got an answer from AWS support team and they confirmed that passwords like above are not working.
They are working on a fix.

devBaum
已回答 3 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则