Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Cognito Setting:
![screen shot 2018-02-13 at 9 48 34 am](https://user-images.githubusercontent.com/361771/36148697-e0b42184-10f7-11e8-8aeb-13915949b97b.png)
2. navigate to your cognito userpool then navigate to Federation > Identity Provider: (Please note that you should provide your fb api key and secret key from https://developer.facebook.com)![screen shot 2018-02-13 at 9 50 13 am](https://user-images.githubusercontent.com/361771/36148755-1c6c535e-10f8-11e8-93ab-bcaa46fc9bbc.png)
3. Map your facebook attribute to cognito attribute: (this are some of the recommended settings)Facebook Setting:
![screen shot 2018-02-13 at 8 06 19 pm](https://user-images.githubusercontent.com/361771/36149102-798235d0-10f9-11e8-968c-1452ca25f360.png)
4. disregard the rest of the step. 5. Go to your facebook login setting and add a valid Oauth redirect url: https://.auth..amazoncognito.com/oauth2/idpresponseNOTE: you can get your app key and secret key at the dashboard setting:
![screen shot 2018-02-13 at 8 08 06 pm](https://user-images.githubusercontent.com/361771/36149184-c1a5c3ea-10f9-11e8-8e3d-420d19de1851.png)