This serverless application provides a AWS Cognito user pool with supporting Lambda hooks to enable a modern web application to authenticate. It integrates analytics and monitoring out of the box.
AWS Cognito has got to the point where providing a simple template with a couple of inline lambdas really doesn't provide enough value, or take advantage of the wide array of features.
This application incorporates a range of out of the box features:
- SNS Topic which publishes all sign ups, and sign in events, this can be used to maintain a session table or analytics.
- Optional invitation code which is required to sign up.
- Optional Email domain whitelisting to restrict sign up.
- Optional sign up notifications to an email address.
- Analytics provided by Amazon Pinpoint see Using Amazon Pinpoint Analytics with Amazon Cognito User Pools
For usage see example app.yaml
This application is released under Apache 2.0 license and is copyright Mark Wolfe.