i’m trying to create a AWS cognito login with fb. the proble is it is throwing error from this API (
https://cognito-identity.us-east-1.amazonaws.com/ –> 400 error) like:
{
"__type": "InvalidIdentityPoolConfigurationException",
"message": "Invalid identity pool configuration. Check assigned IAM roles for this pool."
}
how to rectify it as resources are low in the internet for this error.
2
Answers
Can you be more specific about the question from the provided information it seems that you have not assigned proper
IAM role
with required permissions for cognito see the docs and double check that you have set properidentity provider
fb in your keys with necessary info and provided the rightclient_id
i have added the permissions like
"Action": [
"cognito-identity:GetCredentialsForIdentity",
"cognito-idp:",
"cognito-sync:",
"mobileanalytics:PutEvents",
"cognito-identity:",
"cognito-idp:",
"s3:*"
still iam getting the above error and i want to add this identity pool with google sign in