Skip to content

auth0-blog/react-b2c-sso

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Implementing Single Sign-On in B2C Applications

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/

Installing Dependencies

Just issue the following command:

npm install

Launching the Application

  • 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 &

About

Repository that accompanies a B2C use case.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published