summaryrefslogtreecommitdiffstats
path: root/app/diagnostics.go
diff options
context:
space:
mode:
authorJesús Espino <jespinog@gmail.com>2018-08-28 11:56:40 +0200
committerGitHub <noreply@github.com>2018-08-28 11:56:40 +0200
commit19e69681d73b0b2e30d6f2749c3e61da4eca5863 (patch)
treef60993c71da3588b30c22653a639763bf50bb4e7 /app/diagnostics.go
parent049d88c31919f63b5613b4a03af785971001f949 (diff)
downloadchat-19e69681d73b0b2e30d6f2749c3e61da4eca5863.tar.gz
chat-19e69681d73b0b2e30d6f2749c3e61da4eca5863.tar.bz2
chat-19e69681d73b0b2e30d6f2749c3e61da4eca5863.zip
Adding IdAttribute setting for SAML (#9291)
* Adding IdAttribute setting for SAML * Adding Saml Id Attribute to the diagnostics information * Adding entry to default.json
Diffstat (limited to 'app/diagnostics.go')
-rw-r--r--app/diagnostics.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/diagnostics.go b/app/diagnostics.go
index 63bc506c3..450e9c0e3 100644
--- a/app/diagnostics.go
+++ b/app/diagnostics.go
@@ -458,6 +458,7 @@ func (a *App) trackConfig() {
"encrypt": *cfg.SamlSettings.Encrypt,
"isdefault_scoping_idp_provider_id": isDefault(*cfg.SamlSettings.ScopingIDPProviderId, ""),
"isdefault_scoping_idp_name": isDefault(*cfg.SamlSettings.ScopingIDPName, ""),
+ "isdefault_id_attribute": isDefault(*cfg.SamlSettings.IdAttribute, model.SAML_SETTINGS_DEFAULT_ID_ATTRIBUTE),
"isdefault_first_name_attribute": isDefault(*cfg.SamlSettings.FirstNameAttribute, model.SAML_SETTINGS_DEFAULT_FIRST_NAME_ATTRIBUTE),
"isdefault_last_name_attribute": isDefault(*cfg.SamlSettings.LastNameAttribute, model.SAML_SETTINGS_DEFAULT_LAST_NAME_ATTRIBUTE),
"isdefault_email_attribute": isDefault(*cfg.SamlSettings.EmailAttribute, model.SAML_SETTINGS_DEFAULT_EMAIL_ATTRIBUTE),