1. Download the Git Repository

Download the Furo React Sample project.

git clone https://github.com/furo-official/furo-sample-react

Next, install the npm packages.

cd furo-sample-react

yarn install

2. Project Configuration

Navigate to the [Configuration > For Developers] tab in the Furo Console and perform the following two tasks:

  1. Copy .env value to .env file in project directory. Or, create a .env file and set the environment variables as follows.
REACT_APP_CLIENT_ID="{{YOUR_CLIENT_ID}}"
  1. Change the Default Callback URI in the console’s input box from the default value https://sample.furo.one/{{YOUR_CLIENT_ID}} to http://localhost:3000/{{YOUR_CLIENT_ID}}.

3. Run the Project

Return to the terminal and enter the following command:

yarn start

You can test the integrated login functionality provided by Furo by going to http://localhost:3000.