wolfeidau / cognito-vue-bootstrap

This application illustrates how to use the Amazon Amplify with vue.js.
https://github.com/wolfeidau/cognito-vue-bootstrap
Other
180 stars 36 forks source link

Problem on Login #5

Open paxpelus opened 7 years ago

paxpelus commented 7 years ago

On the specific line https://github.com/wolfeidau/cognito-vue-bootstrap/blob/master/src/cognito.js#L128 it seems like you are using UserPoolId instead of IdentityPoolId.

wolfeidau commented 7 years ago

Yeah I need to review the terminology, it isn't very consistent at the moment, way to many similar sounding things.

My current values reflect their usage, not their name.

alexaandru commented 6 years ago

This explains it very nice: https://serverless-stack.com/chapters/cognito-user-pool-vs-identity-pool.html

I don't think this is a bug, it works for me just fine. IdentityPoolId would've been for logging in with Facebook or Google (etc.) which does not seem to be the intent here.