-
Sign in to easyauth.io and create a new 'Registered Client' with redirect URI set to
http://127.0.0.1:3000
-
Clone the sample app from https://github.com/easyauth-io/easyauth-react-example
git clone https://github.com/easyauth-io/easyauth-react-example.git
-
Copy
.env
into.env.local
cp .env .env.local
-
Edit
.env.local
and set the parameters from your 'Registered Client' that you created in Step 1. -
Run
npm install
followed bynpm run start
-
Visit http://127.0.0.1:3000