u.authenticate() returns None
Opened this issue · 2 comments
malhotrachetan commented
When I call u.authenticate() I get None. No error, no tokens, just None.
u=Cognito(os.environ['COGNITO_USER_POOL_ID'],os.environ['COGNITO_CLIENT_ID'],username=input_username)
u.admin_authenticate(password=input_password)
armicron commented
Check
u.refresh_token
u.access_token
u.token_type
malhotrachetan commented
thanks a ton. was missing on such a silly thing