`https://github.com/danhammari/sso`
This repository is built around a docker compose file that will create sso.test subdomains which implement various SSO technologies.
-
Install Docker on your host machine
https://www.docker.com/community-edition -
Clone this git repository to your host machine
git clone git@github.com:danhammari/sso.git -
Add the following DNS entries to your /etc/hosts file:
#------------------------------------
# DOCKER SSO TEST
#------------------------------------
127.0.0.1 facebook.sso.test
127.0.0.1 google.sso.test
127.0.0.1 lti.sso.test
127.0.0.1 samlidp.sso.test
127.0.0.1 samlsp.sso.test
127.0.0.1 www.sso.test
127.0.0.1 sso.test
-
In a terminal window, go to the directory where you cloned this repository and run the following command:
docker-compose up -
You should now be able to access the following domains in your web browser:
https://facebook.sso.test
https://google.sso.test
https://lti.sso.test
https://samlidp.sso.test
https://samlsp.sso.test
https://www.sso.test
-
To shut down the running docker instances at any time, go to your terminal window and press control-c to interrupt docker. Then run the following command to clean up all docker connections:
docker-compose down