capless / warrant

Python library for using AWS Cognito. With support for SRP.
Apache License 2.0
468 stars 192 forks source link

Return None after authenticating user #114

Open ranjanp75 opened 6 years ago

ranjanp75 commented 6 years ago

`u = Cognito(poolId,clientId,username=username, user_pool_region='us-east-2',access_key=accessKey,secret_key=secretKey)

print(u.authenticate(password=password)) `

No error is thrown but 'None' is getting printed as the response. Please help me with this issue. Thanks

malhotrachetan commented 6 years ago

Did u manage to debug this issue? I am facing the same issue.

raymondbutcher commented 6 years ago

It's not meant to return anything. It sets attributes on the u object as described here.