Fully working Shibboleth IDP and SP written in Python.
Project consists of the following modules:
- ldap is a Dockerized version of 389 Directory Server based on 389ds GitHub project.
- shibboleth-idp is a Dockerized version of Shibboleth IdP based on shibboleth-idp-dockerized and dockerized-idp-testbed GitHub projects.
- flask-sp is a Dockerized Python SP based on OneLogin's python-saml library and lyrasis-saml-test GitHub projects.
To run this project locally please do the following:
- Add a new record idptestbed.com to
/etc/hosts
127.0.0.1 idptestbed.com
It's required because Python SP assumes that Shibboleth IdP is accessible on idptestbed.com
.
- Run services using Docker Compose:
docker-compose up -d
- After the services are up you can access http://localhost:8000 and test the authentication process using two users:
- login:
student1
, password:password
- login:
staff1
, password:password