Simple example project with instructions how to implement serverless login using AWS Cognito.
Simple example project with instructions how to create serverless login using AWS Cognito.
These notes and snippets were created after spending too much time figuring out how to setup serverless authentication using AWS Cognito and Facebook login. Hope you find it useful!
https://servicex.auth.eu1.central1.1.amazoncognito.com/
(the part "servicex" you can name yourself, but it needs to match with the name used in AWS Congnito)servicex
servicex
servicex
.env
and set values from abovegit clone https://github.com/juhamust/serverless-aws-cognito-login.git
cd serverless-aws-cognito-login
npm install
# NOTE: place values in .env!
cat .env
npm start