Follow the instructions in the Try Out the Sample Apps section to register an application.
Make sure to add https://localhost:3000
as a Redirect URL and also add it under allowed origins.
- Update configuration file
src/config.json
with your registered app details.
Note: You will only have to paste in the client ID
generated for the application you registered.
Read more about the SDK configurations here .
{
"clientID": "<ADD_CLIENT_ID_HERE>",
"baseUrl": "<ADD_SERVER_ORIGIN_HERE>",
"signInRedirectURL": "https://localhost:3000"
}
npm start
The app should open at https://localhost:3000
In the project directory, you can run:
Runs the app in the development mode.
Open https://localhost:3000 to view it in the browser.
The page will reload if you make edits.
You will also see any lint errors in the console.
Builds the app for production to the build
folder.
It correctly bundles React in production mode and optimizes the build for the best performance.
The build is minified and the filenames include the hashes.
Your app is ready to be deployed!