warrant icon indicating copy to clipboard operation
warrant copied to clipboard

u.authenticate() returns None

Open malhotrachetan opened this issue 7 years ago • 2 comments

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)

malhotrachetan avatar Jul 08 '18 12:07 malhotrachetan

Check u.refresh_token u.access_token u.token_type

armicron avatar Jul 08 '18 15:07 armicron

thanks a ton. was missing on such a silly thing

malhotrachetan avatar Jul 08 '18 15:07 malhotrachetan