inveniosoftware / invenio-saml

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

Make account mappings easier #9

Closed egabancho closed 3 years ago

egabancho commented 4 years ago

For the account info mappings make a default function to do a simple one to one mapping, more complicated things a function should be provided.

Something like:

SSO_SAML_IDPS = {
    "idp-abc": {
        "mappings": {
            "origin_field": "invenio_field",
        },
    },
    ...
}

(Extracted from #3)

mb-wali commented 3 years ago

closed with #18