Open two terminals for IdP and SP.
- Pull Testable IdP environment
$ docker pull kristophjunge/test-saml-idp
- Run IdP contianer in port 8080 and 8443
$ docker run --name=testsamlidp -p 8080:8080 -p 8443:8443 -e SIMPLESAMLPHP_SP_ENTITY_ID=urn:opengrok -e SIMPLESAMLPHP_SP_ASSERTION_CONSUMER_SERVICE=http://localhost:8446/login.html -d kristophjunge/test-saml-idp
- Run SP container
$ docker build -t sp . && docker run -it -p 8446:80 sp
- Open
localhost:8446
on your browser. - Go to
localhost:8446/secret/endpoint
- You will be redirected to IdP (port 8380)
- Username/Passwords are
user1
/user1pass
- You will be redirected to SP - This means your SAML/SSO is working.
- Coming Soon.
coming soon