bragg-cognito-idp
Bragg middleware for AWS Cognito Userpool triggers
About
AWS Cognito Userpools uses different triggers to customize the authentication flow. The bragg-cognito-idp
middleware for bragg provides 3 triggers that are essential for a custom implementation of the authentication flow.
- Define Auth Challenge trigger
- Create Auth Challenge trigger
- Verify Auth Challenge trigger
Install
$ npm install bragg-cognito-idp
Usage
const app = ;const router = ;const cognito = ; router; router; router; app;app; exportshandler = app;
API
cognito()
Install the cognito
middleware.
License
MIT © Simon Jang