-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Expected params.AuthParameters['USERNAME'] to be a string #9
Comments
@jeremyhodges I haven't tested it with phone numbers but we aren't doing anything specific for string based user names. We simply pass it to the Cognito JS SDK. Can you confirm that you are able to use the Cognito SDK to authenticate in your app? |
Looks like
PoCnode
> !isNaN(Number('+013333333333'))
true Looks like the |
@sjl2 Good catch! Thanks for looking into it. I'll test it out and update it. |
man this is irritating indeed lol |
Fixed this in |
My AWS user pool is setup to use only phone numbers as the username. When I try to make an API call with this test cli I get the following message:
Authenticating with User Pool
Expected params.AuthParameters['USERNAME'] to be a string
I tried wrapping the username parameter in both single and double quotes. Same result.
The text was updated successfully, but these errors were encountered: