inveniosoftware / invenio-saml

SAML support for Invenio.
https://invenio-saml.readthedocs.io
MIT License
3 stars 10 forks source link

Test loading from a file #8

Closed egabancho closed 3 years ago

egabancho commented 4 years ago

python3-saml offers this as a possibility so we should be able to do things like

SSO_SAML_IDPS = {
    "idp-abc": {
        "settings_file_path": "./saml/idb-abc.json",
    },
    ...
}

The location of the file it is up to discussion.

(Extracted from #3)

mb-wali commented 4 years ago

This configuration should be achieved from the flask_sso_saml module. this line of code is expecting XML, see here. the function should be something like this.

i tried to add the settings_file_path in my configuration, it does find the directory but it expect XML structure. the screenshot is the error page. screenshot

mb-wali commented 3 years ago

closed with #18