Traceback (most recent call last):
File "auth.py", line 14, in <module>
tokens = aws.set_new_password_challenge(new_password="mypassword2")
File "/usr/local/lib/python3.6/dist-packages/warrant/aws_srp.py", line 231, in set_new_password_challenge
ChallengeResponses=challenge_response)
File "/home/matheus/.local/lib/python3.6/site-packages/botocore/client.py", line 312, in _api_call
return self._make_api_call(operation_name, kwargs)
File "/home/matheus/.local/lib/python3.6/site-packages/botocore/client.py", line 601, in _make_api_call
raise error_class(parsed_response, operation_name)
botocore.errorfactory.InvalidParameterException: An error occurred (InvalidParameterException) when calling the RespondToAuthChallenge operation: Invalid attributes given, name is missing
I'm new to AWS Cognito, but I think that I also need to provide the required attributes with this auth challenge. Any ideas?
I have a user pool with "name" as a required attribute, but when I try to authenticate an user I get the following response.
Code:
Response:
I'm new to AWS Cognito, but I think that I also need to provide the required attributes with this auth challenge. Any ideas?