-
Notifications
You must be signed in to change notification settings - Fork 234
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
InvalidIdentityPoolConfigurationException: Missing credentials in config #4
Comments
I noticed that the IAM roles associated with my Cognito identiy pool didn't look right so I updated the role associations to what I believe it's supposed to be be and it started working! :) |
@lucascanavan could you tell me what the roles associated with my Cognito identiy pool are, and what were the updated you needed to do? |
@lucascanavan I too would like to know how you were able to fix this as well, I am having the same issue |
I ran into this recently, and for me (since this issue was at the top of my google search), the issue was that my assume role action was I'm using AWS CDK, so what I ended up with looked like: const authenticatedCognitoFederatedPrincipal = new iam.FederatedPrincipal("cognito-identity.amazonaws.com", {
"StringEquals": {
"cognito-identity.amazonaws.com:aud": identityPool.identityPoolId
},
"ForAnyValue:StringLike": {
"cognito-identity.amazonaws.com:amr": "authenticated"
}
}, "sts:AssumeRoleWithWebIdentity");
const unauthenticatedCognitoFederatedPrincipal = new iam.FederatedPrincipal("cognito-identity.amazonaws.com", {
"StringEquals": {
"cognito-identity.amazonaws.com:aud": identityPool.identityPoolId
},
"ForAnyValue:StringLike": {
"cognito-identity.amazonaws.com:amr": "unauthenticated"
}
}, "sts:AssumeRoleWithWebIdentity"); |
Hi Danilo,
Nice repo! :)
However, I can't seem to get it working on my AWS account. I keep getting the following error even on the sigup page:
"InvalidIdentityPoolConfigurationException: Missing credentials in config"
http://lambdauth.lucas-canavan.net/signup.html
Any ideas???
Thanks,
Lucas
The text was updated successfully, but these errors were encountered: