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.
- Host: GitHub
- URL: https://github.com/shazi7804/aws-cognito-passwordless-sms-auth
- Owner: shazi7804
- License: mit
- Created: 2020-07-02T03:53:15.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2023-01-06T05:05:27.000Z (over 2 years ago)
- Last Synced: 2024-06-22T00:35:06.311Z (12 months ago)
- Topics: auth, authentication, aws, cognito, passwordless, sample, sms
- Language: Swift
- Homepage:
- Size: 1.05 MB
- Stars: 7
- Watchers: 3
- Forks: 1
- Open Issues: 14
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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.
## 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.