IdentityPython / satosa-docker

Docker Official Image packaging for SATOSA
Other
7 stars 5 forks source link

Signet's SAMLtest.ID testing service is dead #10

Open prigaux opened 5 months ago

prigaux commented 5 months ago

Default configuration is an SP-to-IdP proxy using Signet's SAMLtest.ID testing service.

Alas https://samltest.id/ is no more:

rishabh-cldcvr commented 4 months ago

hey is there any plan to fix this? I'm facing connection error to samltest.id host when launching latest docker image. Is there any workaround to fix this?

PeterBolha commented 1 month ago

I stumbled upon this exact issue in July 2024 and it still seems to be problematic. In case someone else needs a workaround, this is what worked for me:

The first launch fails but the configuration files are now available in the Docker volume. In the volume folder, the files: /plugins/frontends/saml2_frontend.yaml and plugins/backends/saml2_backend.yaml contain the broken links to the samltest.id.

Other testing sites that do not crash the initial boot of SATOSA are for example Mock SAML for IdP or RSA for SP. I have personally managed to configure a working example based on this guide.

peter- commented 2 weeks ago

FWIW, here's how I'm using the official image from docker compose, avoiding the provided entrypoint script (and thereby this issue) completely:

services:
  satosa:
    image: satosa  # or satosa:alpine
    volumes:
    - ./satosa:/etc/satosa:ro
    environment:
      PYTHONDONTWRITEBYTECODE: 1
      SATOSA_CONFIG: /etc/satosa/proxy_conf.yaml
      # etc.
    entrypoint:
    - gunicorn
    command:
    - --bind=0.0.0.0:${GUNICORN_PORT:-8080}
    - --workers=${GUNICORN_WORKERS:-3}
    - --worker-tmp-dir=/dev/shm
    - satosa.wsgi:app

The local directory satosa contains the required configuration files, specifically proxy_conf.yaml.
The same can be done on the docker command line, of course.