Logins don’t match. Please include at least one valid login for this identity or identity pool

Question:

I am trying to put login credentials like access token of auth0 login to amazon cognito and then try to upload a profile picture in my app. I am getting error from amazon like:

UploadImageTask.java

I am doing this to upload image and try to put accesstoken to amazon cognito. But I am getting error and image is not getting upload.

ErrrLog:

can someone help me to resolve this issue?
I have already visit the amazon forums ans and try this:
https://forums.aws.amazon.com/thread.jspa?threadID=243850 but didn’t work.

Thanks.

Answer:

This should be a configuration problem. As solution You have to create a new identity pool from scratch and added during the creation, cognito user pool as authentication provider.

if above solution doesn’t work, then workaround

one more solution

Leave a Reply