skip to Main Content

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


  1. 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 proper identity provider fb in your keys with necessary info and provided the right client_id

    Login or Signup to reply.
  2. 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

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search