You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is because get_user uses the user's access token to get their information. If you just want to get a user's information without them having logged in and having a token then you should use admin_get_user
I'm trying to fetch data from a user using pycognito.
This code give all de users in the pool, so the connection to AWS is working fine
But the same code using get_user_obj
Always return a dummy object with all values set to None except for the username that is populated allways, also with not existing users.
I have tested also
get_user
That raise a boto3 exception
My cognito pool use only "email", not "username" for login, I'm not sure if is de reason for the error.
Any hint to solve my issues fetching the user data?
The text was updated successfully, but these errors were encountered: