Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

u.authenticate() returns None #122

Open
malhotrachetan opened this issue Jul 8, 2018 · 2 comments
Open

u.authenticate() returns None #122

malhotrachetan opened this issue Jul 8, 2018 · 2 comments

Comments

@malhotrachetan
Copy link

malhotrachetan commented Jul 8, 2018

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
Copy link
Contributor

armicron commented Jul 8, 2018

Check
u.refresh_token
u.access_token
u.token_type

@malhotrachetan
Copy link
Author

thanks a ton. was missing on such a silly thing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants