This repository contains the code for implementing Single Sign-On (SSO) using a Dockerized SSO server and multiple frontend applications.
- Note: You must have Docker installed locally.
- Clone the repository:
git clone https://github.com/SomSingh23/SSO_CC_LAB
- Run the SSO server:
cd SSO_CC_LABcd sso_serverdocker-compose up
-
Important Note: Once the SSO server is running, proceed with starting the frontend applications in development mode.
-
With the SSO server running in the background, navigate to each frontend application directory and execute the following commands:
-
Make sure your on the root directory i.e
/SSO_CC_LABand open 3 new terminal -
instead of
yarn or yarn installyou can usenpm i or npm install -
instead of
yarn devyou can usenpm run dev
# write these commands on terminal 1
cd application_1
yarn install # Install dependencies
yarn dev # Start the application in development mode# write these commands on terminal 2
cd application_2
yarn install # Install dependencies
yarn dev # Start the application in development mode# write these commands on terminal 3
cd application_3
yarn install # Install dependencies
yarn dev # Start the application in development mode