Skip to content

Latest commit

 

History

History
18 lines (13 loc) · 901 Bytes

File metadata and controls

18 lines (13 loc) · 901 Bytes

Jane Roots Cognito Headless Checkout Sample App

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.

Setup Instructions

  1. npm install
  2. Edit src/config.js, and add values for the variables USER_POOL_ID, APP_CLIENT_ID, and DOMAIN.
  3. 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

Configuring the Jane Environment

to use different Jane environments, customize the iframe url in src/App.jsx