druidfi/saml-idp

By druidfi

Updated 3 months ago

SimpleSAMLphp based test IdP for local development purposes

Image
Developer Tools

10K+

Basic usage

This example uses Traefik to route traffic to container:

idp:
  image: druidfi/saml-idp:2.0.2
  environment:
    SIMPLESAMLPHP_IDP_BASEURLPATH: "https://idp.docker.so/simplesaml/"
    SIMPLESAMLPHP_SP_ENTITY_ID: "https://sp.docker.so"
    SIMPLESAMLPHP_SP_ASSERTION_CONSUMER_SERVICE: "https://sp.docker.so/simplesaml/module.php/saml/sp/saml2-acs.php/default-sp"
    SIMPLESAMLPHP_SP_SINGLE_LOGOUT_SERVICE: "https://sp.docker.so/simplesaml/module.php/saml/sp/saml2-logout.php/default-sp"
  labels:
    - "traefik.enable=true"
    - "traefik.http.routers.idp.entrypoints=https"
    - "traefik.http.routers.idp.rule=Host(`idp.docker.so`)"
    - "traefik.http.routers.idp.tls=true"
    - "traefik.http.services.idp.loadbalancer.server.port=8080"

And then you can access IdPs admin from https://idp.docker.so/simplesaml/admin with password debugpass

Docker Pull Command

docker pull druidfi/saml-idp