capless/warrant

u.authenticate() returns None

Opened this issue · 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)

Check
u.refresh_token
u.access_token
u.token_type

thanks a ton. was missing on such a silly thing