Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

ravanscafi/saml-sp-docker

Repository files navigation

SAML Service Provider Test

Use a preconfigured service provider to test your own Identity Provider (IdP).

Setup

You only need Docker and Docker-Compose.

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. You should be able to see the default page.

If you need to change something, take a look at 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 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.

About

Use a preconfigured SAML service provider to test your own Identity Provider

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

AltStyle によって変換されたページ (->オリジナル) /