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
gefragt vor 3 Jahren775 Aufrufe
1 Antwort
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
beantwortet vor 3 Jahren

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen