GitHub repository: nwaringa/serverless-cognito
Description: Authenticate your users through Cognito, Lambda and API Gateway. The script will set a local cookie in the browser and prompt for reauthentication by the user if needed.