Learn how a B2C Company implemented Single Sign-On to provide seamless integration between different e-commerce portals.
Read more at: https://auth0.com/blog/implementing-single-sign-on-in-b2c-applications/
Just issue the following command:
npm install
- Create first api
- Add scope
- Create second api
- Add scope
- Create first client
- Add
http://localhost:3000/callback
to "Allowed Callback URLs" - Add
http://localhost:3000
to "Allowed Web Origins" - Create second client
- Add
http://localhost:4000/callback
to "Allowed Callback URLs" - Add
http://localhost:4000
to "Allowed Web Origins" - Create "react-B2C-auth0-sso" project on Google
Start first application.
export PORT=3000
export REACT_APP_REST_PORT=3001
npm start &
Start second application.
export PORT=4000
export REACT_APP_REST_PORT=4001
npm start &