This app can be used as a React starter for a Jane Roots implementation with AWS Cognito Authentication.
For more information on implementing AWS Cognito with Jane Roots, go here to view our docs.
npm install
- Edit
src/config.js
, and add values for the variables USER_POOL_ID, APP_CLIENT_ID, and DOMAIN. npm start
You may get an SSL error when you try to start this app. If so, you can run the following command to fix it:
export NODE_OPTIONS=--openssl-legacy-provider
to use different Jane environments, customize the iframe url in src/App.jsx