GithubHelp home page GithubHelp logo

limion / react-b2c-sso Goto Github PK

View Code? Open in Web Editor NEW

This project forked from auth0-blog/react-b2c-sso

0.0 1.0 0.0 376 KB

Repository that accompanies a B2C use case.

License: MIT License

HTML 11.75% JavaScript 73.83% CSS 14.42%

react-b2c-sso's Introduction

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 &

react-b2c-sso's People

Contributors

brunokrebs avatar limion avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.