Skip to content

satosa-saml-metadata with SAMLMirrorFrontend - Missing metadata #7

Description

@github-canni

Code Version

Satosa 8.2.0 (docker), running an saml2 mirror frontend and multiple oidc backends

Expected Behavior

  • multiple frontend*.xml metadata files for each oidc backend
    or
  • one frontend.xml with multiple entity descriptors for each oidc backend

Current Behavior

  • only one frontend.xml with one entity descriptor will be generated
    (so no metadata for other mirrored oidc backends)

Steps to Reproduce

Activity

  1. changed the title [-]satosa-saml-metadata with SAMLMirrorFrontend[/-] [+]satosa-saml-metadata with SAMLMirrorFrontend - Missing metadata[/+] on Jun 8, 2023
  2. rizlas commented on Aug 7, 2025

    @rizlas

    Also in the docker-entrypoint.sh this part will fail if a saml2 backend is not defined, and for saml2 social logins a saml2 backend is not present.

    touch backend.xml frontend.xml
    satosa-saml-metadata proxy_conf.yaml backend.key backend.crt
    
    echo -----BEGIN SAML2 BACKEND METADATA-----
    xq -x 'del(."ns0:EntityDescriptor"."ns1:Signature")' backend.xml | tee backend.xml.new
    echo -----END SAML2 BACKEND METADATA----

    This error is triggered cause backend.xml is 0 byte.

    -----BEGIN SAML2 BACKEND METADATA-----
    xq: Error running jq: ExpatError: no element found: line 1, column 0.
    
    
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions