This repo is a experiement project to use okta auth sdk with React hooks. It also tried abstract hooks logic into separated modules for general usage.

Available Scripts

In the project directory, you can run:

yarn dev:spa

Runs the React spa app in the development mode.
Open http://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.

yarn dev:server

Runs the express server in the development mode.
http://localhost:4000 to support protected api routes, like /api/messages

For more information, please see in script in package.json file.