- run
git clone https://github.com/cob04/AuthApp.git
- Change directory to AuthApp with the command
cd AuthApp
- Run
npm i
to install all the React app's dependencies
- Run
npm start
to start a local server. This should open the browser on the locationlocalhost:3000
Due to unresolved CORS issues with https://test-auth.songamusic.com/oauth/token/ I have opted to run a dummy server for use in the requesting access token step of the OAuth Flow
- Change directory to mock-api with the command
cd mock-api
- Install dependencies with
npm i
- Run the mock server with the command
node server.js
in your terminal. - This will run a server listening at
http://localhost:4000
- The server can only receive
POST
requests for the endpointhttp://locahost:4000/oauth/token/