Skip to content

NuID/amazon-cognito-passwordless-email-auth

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

51 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

⚠️ This sample repository has been modified to use NuID's Zero Knowledge Authentication libraries. It's primarily meant as an illustrative example, so feel free to get in touch if you have any questions or want to learn more about NuID.

Amazon Cognito Passwordless Email Auth

This is the sample code that comes together with the blog post on passwordless e-mail auth in Amazon Cognito.

The purpose of this sample code is to demonstrate how Amazon Cognito Custom Authentication Flows can be used to implement passwordless e-mail auth. Please treat the code as an illustration––thoroughly review it and adapt it to your needs, if you want to use it for serious things.

The sample code is contained in these folders. Please visit these and run the sample solution:

  • ./cognito: a Serverless Application that includes a Cognito user pool with the necessary setup
  • ./client: a Web Client that authenticates with the Cognito user pool

License Summary

This sample code is made available under a modified MIT license. See the LICENSE file.

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 79.0%
  • HTML 17.4%
  • CSS 3.4%
  • JavaScript 0.2%