`desktop.conf.settings` does a glob import of the saml settings. Since `SAML_USE_NAME_ID_AS_USERNAME` was not being exported, it wasn't being passed to djangosaml2/pysaml2.
@@ -26,6 +26,7 @@ __all__ = (
'SAML_ATTRIBUTE_MAPPING',
'SAML_CONFIG_LOADER',
'SAML_CREATE_UNKNOWN_USER',
+ 'SAML_USE_NAME_ID_AS_USERNAME',
)