amazon-archives / amazon-cognito-auth-js

The Amazon Cognito Auth SDK for JavaScript simplifies adding sign-up, sign-in with user profile functionality to web apps.
Apache License 2.0
424 stars 232 forks source link

Where to input Identity pool ID? #96

Closed Jun711 closed 6 years ago

Jun711 commented 6 years ago

I got login using Facebook working but I can only see the user data in the user pool but not the identity pool. Then, I noticed Identity pool ID wasn't included in the configuration at all. Where should I include it? Thanks

https://github.com/Jun711/amazon-cognito-auth-js/blob/social-login/sample/index.html

Thanks

gwander commented 6 years ago

you need to integrate your userpool with your identity pool, check the use case 17 in the following sdk: https://github.com/aws/aws-amplify/tree/master/packages/amazon-cognito-identity-js

Jun711 commented 6 years ago

Thanks @gwander