mirror of
https://github.com/dkmstr/openuds.git
synced 2025-03-20 06:50:23 +03:00
fixed SAML not reading friendlyName
This commit is contained in:
parent
d76759bb2c
commit
50bed7268a
@ -668,7 +668,10 @@ class SAMLAuthenticator(auths.Authenticator):
|
||||
# url=auth.redirect_to(req['post_data']['RelayState'])
|
||||
# )
|
||||
|
||||
attributes = auth.get_attributes()
|
||||
attributes = auth.get_attributes().copy()
|
||||
# Append attributes by its friendly name
|
||||
attributes.update(auth.get_friendlyname_attributes())
|
||||
|
||||
if not attributes:
|
||||
raise auths.exceptions.AuthenticatorException(
|
||||
gettext('No attributes returned from IdP')
|
||||
|
Loading…
x
Reference in New Issue
Block a user