An open API service indexing awesome lists of open source software.

https://github.com/shazi7804/aws-cognito-passwordless-sms-auth

AWS Cognito Passwordless SMS Authentication.
https://github.com/shazi7804/aws-cognito-passwordless-sms-auth

auth authentication aws cognito passwordless sample sms

Last synced: 7 months ago
JSON representation

AWS Cognito Passwordless SMS Authentication.

Awesome Lists containing this project

README

        

# AWS Cognito Passwordless SMS Authentication
This is your passwordless SMS authentication solution for AWS. It uses Amazon Cognito user pools custom auth challenge with AWS Lambda triggers as shown in this diagram.

![Lambda Triggers Diagram](https://docs.aws.amazon.com/cognito/latest/developerguide/images/lambda-challenges.png)

## This repo provides: ##
1. The backend source configuration to deploy a fully functional passwordless SMS backend solution via this [AWS Serverless Repository](https://serverlessrepo.aws.amazon.com/applications/arn:aws:serverlessrepo:us-east-1:552623489034:applications~amplify-passwordless-sms-auth).
2. A sample [Web Client (Angular)](https://github.com/shazi7804/aws-cognito-passwordless-sms-auth/tree/master/client/web) app that demonstrates sign-up and sign-in of users via their phone number. The web client is an Angular 7 app that connects to your backend that was deployed via the AWS serverless repository.
3. A sample [iOS Mobile Client](https://github.com/shazi7804/aws-cognito-passwordless-sms-auth/tree/master/client/iOS) that demonstrates the ability to sign-up and sign-in a user via their phone number, straight from a native mobile app.

If you are interested in [passwordless email authentication](https://github.com/aws-samples/amazon-cognito-passwordless-email-auth/tree/master/cognito)

## Backend Deployment instructions

Deploy the backend through the Serverless Application Repository as outlined in [/cognito-lambda](https://github.com/shazi7804/aws-cognito-passwordless-sms-auth/tree/master/cognito-lambda).

Once you deploy this backend via the Serverless Application Repository, you can setup the provided web client (Angular) or iOS app to demonstrate sign-up and sign-in of users, using only their phone number.

#### Clients ####

[Web Client (Angular)](https://github.com/shazi7804/aws-cognito-passwordless-sms-auth/tree/master/client/web)

[iOS Client](https://github.com/shazi7804/aws-cognito-passwordless-sms-auth/tree/master/client/iOS)

### License Summary

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