Skip to content

A proof of concept "Single sign-on" with keycloak server container instance.

License

Notifications You must be signed in to change notification settings

adityasahrinn/ssomin

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SSO Keycloak POC

This SSO Demo uses four container instances:

  • keycloak: the OAuth2(OpenID connection) server instance
  • db: the mysql server instance for keycloak backend
  • app1: simple php web app
  • app2: simple php web app

Pre Install

Be sure that the docker engine & docker-compose are installed.


Config the keycloak server

  • import the project config
  • add the test user for SSO
  • add the password to the test user

Tutorial on youtube: https://youtu.be/G4IQlV65Sl0

Demostrate the web apps with sso

Tutorial on youtube : https://youtu.be/M2pz9RoE9zA

Start and clean up

start the container instanc

# start the containers
bash run.sh start 

# stop the containers
bash run.sh stop

# clean up the containers
bash run.sh clean

Urls

Open the admin console and the apps on the following URLs

# Keycloak admin console
http://localhost:8080/auth

# Web-app-1
http://localhost:8091/

# Web-app-2
http://localhost:8092/

Keycloak Admin Login

user: admin
password: admin

Screenshots

About

A proof of concept "Single sign-on" with keycloak server container instance.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 85.3%
  • JavaScript 10.2%
  • Shell 4.5%