Skip to content

daisuke-ootaka/cognito-auth-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cognito-auth-example

Cognito Authentication Example w/ React

Installation

Clone repository

$ git clone https://github.com/DaisukeOtaka/cognito-auth-example.git

Install Required Packages

$ cd cognito-auth-example
$ npm install

Usage

Environment Varilables

  • 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

Run

$ npm start

Screenshots

Sign In

Sign In

My Page

My Page

About

Cognito Authentication Example w/ React

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published