Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ravanscafi/saml-sp-docker
Use a preconfigured SAML service provider to test your own Identity Provider
https://github.com/ravanscafi/saml-sp-docker
docker docker-image saml saml-identity-provider saml-idp saml-service-provider
Last synced: 2 months ago
JSON representation
Use a preconfigured SAML service provider to test your own Identity Provider
- Host: GitHub
- URL: https://github.com/ravanscafi/saml-sp-docker
- Owner: ravanscafi
- Created: 2019-07-11T23:28:21.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-10-29T22:07:16.000Z (about 4 years ago)
- Last Synced: 2023-02-28T20:25:29.824Z (almost 2 years ago)
- Topics: docker, docker-image, saml, saml-identity-provider, saml-idp, saml-service-provider
- Language: PHP
- Homepage:
- Size: 135 KB
- Stars: 9
- Watchers: 0
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# SAML Service Provider Test
Use a preconfigured service provider to test your own Identity Provider (IdP).
## Setup
You only need Docker and Docker-Compose.
```bash
cp docker-compose.override.yml.example docker-compose.override.yml
# Now edit your docker-compose.override.yml file with proper info about IdP
docker-compose build
docker-compose up -d
docker-compose exec sp composer install
```Then access [http://localhost:8000](http://localhost:8000).
You should be able to see the default page.If you need to change something, take a look at [settings.php](./settings.php)
## Relevant information
You must configure your IdP with whatever of these info they ask:
- The service name is `SP test`
- The return URL is `http://localhost:8000/acs.php`
- The metadata URL is at `http://localhost:8000/metadata.php`
- The login URL is at `http://localhost:8000/login.php`## Running
After everything is configured, just start SAML flow on [http://localhost:8000/login.php](http://localhost:8000/login.php)
and you are ready to go.
You should be redirected to your `IDP_SSO_URL` and after authentication,
you should be redirected back to `/acs.php` and be able to see info about user.