aws / aws-aspnet-cognito-identity-provider

ASP.NET Core Identity Provider for Amazon Cognito
https://aws.amazon.com/developer/language/net/
Apache License 2.0
215 stars 89 forks source link

Password policy not respected when creating a new account #133

Closed MarneeDear closed 4 years ago

MarneeDear commented 5 years ago

May be related to #116

I get an error about not meeting the password complexity requirements, but I don't have any.

Here is my password policy

image

But I get this error when I create an account

Password: "HelloWorld"

Error

Passwords must have at least one non alphanumeric character.

When I create an account using the console, it is created without any errors using the same password.

What could cause this?

klaytaybai commented 5 years ago

@MarneeDear, which version are you using?

klaytaybai commented 5 years ago

Are you able to confirm that the user pool information matches what you expect it to be? I'm not sure why you would be seeing this error.

MarneeDear commented 5 years ago

@klaytaybai I am using version 1.0.2

MarneeDear commented 5 years ago

I can confirm that I am using the correct user pool.

My app does not do any password checking of its own.

@klaytaybai Have you been able to reproduce it? Issue #116 is very similar.

MarneeDear commented 5 years ago

@klaytaybai Have you been able to reproduce the problem?

klaytaybai commented 5 years ago

Hi @MarneeDear, I have reproduced it now. Thanks for notifying us about this.

klaytaybai commented 4 years ago

This has been fixed. Thanks again for reporting it.