warrant icon indicating copy to clipboard operation
warrant copied to clipboard

Return None after authenticating user

Open ranjanp75 opened this issue 7 years ago • 2 comments

`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

ranjanp75 avatar Jun 01 '18 07:06 ranjanp75

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

malhotrachetan avatar Jul 08 '18 09:07 malhotrachetan

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

raymondbutcher avatar Jul 09 '18 16:07 raymondbutcher