Cognito Authentication Example w/ React
$ git clone https://github.com/DaisukeOtaka/cognito-auth-example.git
$ cd cognito-auth-example
$ npm install
- PORT: (Optional) Express Port Number
- REGION: AWS Cognito Region
- COGNITO_IDENTITY_POOL_ID: Cognito Identity Pool ID
- COGNITO_USER_POOL_ID: User Pool ID
- COGNITO_APP_CLIENT_ID: App Client ID
- INVOKE_URL: AWS API Gateway Invoke URL
- DEFAULT_USERNAME: Default Username for Sign In
- DEFAULT_PASSWORD: Default Password for Sign In
$ npm start