React frontend with user authentication.
to start run:
REACT_APP_CID_TENANT_ID=<tenant_id> \
REACT_APP_CID_CLIENT_ID=<client_id> \
REACT_APP_CID_SCOPE='openid' \
npm start
Then navigate to: http://localhost:3000/react
Note: In your SPA app, put the following parameters:
- Login Redirect URIs: http://localhost:3000/react/
- Logout Redirect URIs: http://localhost:3000/react/
- Allowed Cors Origins: http://localhost:3000\*
- Get Started with Crossid
- Crossid for React
- Create React App documentation.
- To learn React, check out the React documentation.