Git Product home page Git Product logo

pandiyan's Introduction

Amplify Passwordless SMS Auth - WebClient (Angular)

This is a client web app that provides custom passwordless sign-up and sign-in pages to authenticate against an Amazon Cognito user pool via custom authentication challenge flow with Lambda triggers.

How to run this web app

Pre-requisites to run this Angular web client

  1. Download and install Node.js
  2. Deploy backend via the AWS Serverless Application Repository as described in /backend

Run the web client

Once the backend is deployed, run the web client to demonstrate the passwordless authentication flow via SMS.

  1. Clone this repo git clone https://github.com/mobilequickie/amplify-passwordless-sms-auth.git
  2. Enter webClient directory: cd webClient/angular/
  3. Install dependencies: npm install
  4. Enter your AWS region, Cognito user pool ID and your Web App Client ID in this file: src/environments/environment.ts. You can get this information from the CloudFormation stack outputs of the serverless repo deployment.
  5. Run the web app locally: npm run start

The web app client should be running at http://localhost:4200 allowing you to register a new user with full name and phone number and login with only the registered phone number.

Once you have it running locally and tested, you can deploy this directly to AWS Amplify Console:

amplifybutton

Screenshot

License Summary

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

pandiyan's People

Contributors

pandikrishnasamy avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.