Эх сурвалжийг харах

[core] Fix default values for SAML user_attribute_mapping

The SAML user_attribute_mapping expects a dict with tuple values, e.g. -
user_attribute_mapping={'uid': ('username', )}
Jenny Kim 10 жил өмнө
parent
commit
cfdbebd9d2

+ 1 - 1
desktop/conf.dist/hue.ini

@@ -1225,7 +1225,7 @@
   ## cert_file=
 
   # A mapping from attributes in the response from the IdP to django user attributes.
-  ## user_attribute_mapping={'uid':'username'}
+  ## user_attribute_mapping={'uid': ('username', )}
 
   # Have Hue initiated authn requests be signed and provide a certificate.
   ## authn_requests_signed=false

+ 1 - 1
desktop/conf/pseudo-distributed.ini.tmpl

@@ -1227,7 +1227,7 @@
   ## cert_file=
 
   # A mapping from attributes in the response from the IdP to django user attributes.
-  ## user_attribute_mapping={'uid':'username'}
+  ## user_attribute_mapping={'uid': ('username', )}
 
   # Have Hue initiated authn requests be signed and provide a certificate.
   ## authn_requests_signed=false