Browse Source

Maintenance: Revert accidental modified saml_database.rb.

Tobias Schäfer 2 years ago
parent
commit
5a563215e5
1 changed files with 1 additions and 1 deletions
  1. 1 1
      lib/omniauth/saml_database.rb

+ 1 - 1
lib/omniauth/saml_database.rb

@@ -10,7 +10,7 @@ class SamlDatabase < OmniAuth::Strategies::SAML
 
     # Use meta URL as entity id/issues as it is best practice.
     # See: https://community.zammad.org/t/saml-oidc-third-party-authentication/2533/13
-    entity_id                      = 'zammad-saml-sp'
+    entity_id                      = "#{http_type}://#{fqdn}/auth/saml/metadata"
     assertion_consumer_service_url = "#{http_type}://#{fqdn}/auth/saml/callback"
 
     config  = Setting.get('auth_saml_credentials') || {}