AWS Cognito Error: 'identityPoolId' failed to satisfy constraint

前端 未结 3 957
猫巷女王i
猫巷女王i 2020-12-14 13:55

I am new Cognito. I am trying to implement AWS Cognito using Lambda. This is the tutorial I am following.

AmazonCognitoIdentityClient client =
                      


        
3条回答
  •  囚心锁ツ
    2020-12-14 14:59

    You are using a Cognito user pool id as the identity pool id. They are two different things. Identity pool ids are of format us-east-1:XXXX-XXXXXX-XXXX-XXXX.

    To get an identity pool id you should use the "Manage Federated Identities" parts of the Cognito console not the "Manage User Pools" section. Hope this helps.

提交回复
热议问题