I've been working on an app for a while now and I've setup cognito and everything to work with the app. Sign up/sign out/sign in has been working all this time. I haven't worked on the frontend for some time now and it's been untouched. I've been working on the backend since then which is using lambda and API gateway but nothing is connected to the app yet. (with the exception of sign up which triggers a post confirmation function).
I tried to get started again this morning on the frontend again but when i try to sign in i get a sign in error Token is not from a supported provider of this identity pool
This is out of the blue and I don't understand why this doesn't work. I've double checked all the ids in my aws-exports file but everything seems to exactly the way I've left them. My frontend isn't using any new resources or anything. I did update my aws-amplify and aws sdk recently so I reverted it and still no luck. Can someone point me in the right direction? I've had a look at this issue too https://github.com/aws/aws-amplify/issues/350 but it doesn't seem like I've missed anything out.
There are 3 requests made. One for the username which returns a 200 success. One for the password which is also a 200 success. But the third one is the error where I get a 400 Bad Request with Token is not from a supported provider of this identity pool.
@rayhaanq Could you go to your identity pool console to check if your user pool is correctly setup as one of the provider?
Closing the issue. Feel free to reopen if necessary.
I am having this same issue. Sign In / Up was working perfectly and out of the blue it stopped. AWS now throws "Token is not from a supported provider of this identity pool". I have triple checked the client, user pool, and identity pool IDs. I've also verified I'm using the correct loginKey.
Also seeing 3 requests made. Sign In even "works", in so far as the POST is a 200.
Baffled, please help?
Most helpful comment
I am having this same issue. Sign In / Up was working perfectly and out of the blue it stopped. AWS now throws "Token is not from a supported provider of this identity pool". I have triple checked the client, user pool, and identity pool IDs. I've also verified I'm using the correct loginKey.
Also seeing 3 requests made. Sign In even "works", in so far as the POST is a 200.
Baffled, please help?