OTA-Insight / djangosaml2idp

SAML 2.0 Identity Provider in Django
Apache License 2.0
104 stars 97 forks source link

IDP dynamic configuration #126

Open challet opened 3 years ago

challet commented 3 years ago

This PR adds two main dynamic and optional configuration settings :

SAML_IDP_CONF_LOADER : a path to a callable that can adapt the IDP configuration, taking two arguments :

SAML_IDP_FILTER_SP_QUERYSET : a path to a callable that should return the queryset of SPs available along the request being handled. It takes two arguments :