Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

Remove metadata_url from discoverable attribute check

Oliver Güntherdcc293c8a481
diff --git a/modules/openid_connect/app/models/openid_connect/provider.rb b/modules/openid_connect/app/models/openid_connect/provider.rb
index 03f644071ef..4d14fa36658 100644
--- a/modules/openid_connect/app/models/openid_connect/provider.rb
+++ b/modules/openid_connect/app/models/openid_connect/provider.rb
@@ -47,8 +47,6 @@ module OpenIDConnect
end
def metadata_configured?
- return false if metadata_url.blank?
-
DISCOVERABLE_ATTRIBUTES_MANDATORY.all? do |mandatory_attribute|
public_send(mandatory_attribute).present?
end