carlosdanna / react-cognito-authentication

React/Redux authentication using cognito aws service

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

React - Cognito Serverless Authentication

The project consists in using cognito and React/Redux to create a serverless authentication service that can be used as a sample for people interested on this

Configure cognito in the project

Go to src/actions/index.js

let poolData = {
    UserPoolId: 'Your user pool id here', // it should look like: us-east-1_3Zh1cICbd
    ClientId: 'Your client id here' // it should look like: 782ksft0keavlha75pb73aq2c6
};

Instructions

To run the project:

  • Download the project
  • npm install
  • npm run dev

About

React/Redux authentication using cognito aws service

License:MIT License


Languages

Language:JavaScript 99.8%Language:CSS 0.2%