You are reading this post because you may be building apps with Serverless technology. This short instruction is going to save you a lot of time if you want to integrate Facebook login into your apps.
Create a new Federated Identity Pool from AWS Cognito dashboard
Identity Pools - Amazon Cognito
To use Amazon Cognito Federated Identities in your app, you'll need to create an identity pool. An identity pool is a…
Add Facebook provider to Cognito
Adding Social Identity Providers - Amazon Cognito
Add an identity provider for your Amazon Cognito user pool.
Use Facebook SDK and AWS Cognito SDK to get credentials to access API Gateway when users sign in from web/mobile app
To get Facebook’s access token
Developer Authenticated Identities - Amazon Cognito
Use Amazon Cognito to register and authenticate users with your existing authentication process.
To get AWS Cognito’s access token