Skip to content

SomSingh23/SSO_CC_LAB

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

27 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Single Sign-On (SSO) Setup Guide

This repository contains the code for implementing Single Sign-On (SSO) using a Dockerized SSO server and multiple frontend applications.

Setup Instructions

  • Note: You must have Docker installed locally.
  1. Clone the repository:
    git clone https://github.com/SomSingh23/SSO_CC_LAB
  2. Run the SSO server:
    cd SSO_CC_LAB
    cd sso_server
    docker-compose up

Run the Frontend Applications in Development Mode

  • 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_LAB and open 3 new terminal

  • instead of yarn or yarn install you can use npm i or npm install

  • instead of yarn dev you can use npm 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

SSO Implementation Workflow


image