Using AWS Cognito for authentication

Cognito can be used in both JWT mode and webhook mode.

  • For JWT, this blog post contains detailed instructions.
  • For webhook, a thin wrapper/webhook that implements this spec needs to be written. Boilerplates to write this webhook can be found here.