Giter Site home page Giter Site logo

layanmoyura / cognito-sample-project Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 2.46 MB

Angular app with sign up, sign up confirm, sign in, MFA (SMS and TOTP Authenticator) using Cognito user pool authentication and google sign in. Additionally with a token refresh mechanism based on expired time of JWT.

TypeScript 71.84% HTML 27.38% CSS 0.78%
aws-amplify-angular aws-cognito token-refresh mfa aws-sns authenticator-app totp google-sign-in

cognito-sample-project's Introduction

Angular Authentication App with AWS Cognito

This project is an Angular application that implements user authentication using AWS Cognito User Pools. It includes features such as sign up, sign up confirmation, log in, and multi-factor authentication (MFA) with both SMS and Time-based One-Time Password (TOTP) Authenticator.

Features

  • User Registration: New users can create an account.
  • User Confirmation: Users can confirm their account after registration.
  • User Login: Registered users can log in to the application.
  • MFA: Users can secure their accounts using multi-factor authentication. The application supports both SMS and TOTP Authenticator methods.(SMS MFA is implemented in SMS_MFA branch and TOTP in main branch)
  • Token Refresh: The application includes a mechanism to refresh tokens based on the expiry time of JSON Web Tokens (JWT).
  • MFA Toggle: Users have the option to enable or disable MFA for their accounts.

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

Prerequisites

  • Node.js
  • Angular CLI
  • AWS Account

Installation

  1. Clone the repository.
  2. Install the dependencies using npm install.
  3. Configure your AWS credentials.
  4. Run the application using ng serve.

cognito-sample-project's People

Contributors

dependabot[bot] avatar layanmoyura avatar

Stargazers

 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.