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
Ruby agile-developmentangularbcfboardsbug-trackerganttgantt-chartifcissue-trackerjira-alternativekanbanopenprojectproduct-managementproject-managementproject-planningroadmaprubyscrumtimelineworkflows
Use default scopes as default value, not as placeholder
Jan Sandbrinkbd12cb8b91b6
diff --git a/modules/openid_connect/app/components/openid_connect/providers/client_details_form.rb b/modules/openid_connect/app/components/openid_connect/providers/client_details_form.rbindex 609c3304381..88731db4091 100644--- a/modules/openid_connect/app/components/openid_connect/providers/client_details_form.rb+++ b/modules/openid_connect/app/components/openid_connect/providers/client_details_form.rb@@ -53,7 +53,6 @@ module OpenIDConnectf.text_field(name: :scope,label: I18n.t("activemodel.attributes.openid_connect/provider.scope"),- placeholder: "openid email profile",caption: link_translate("openid_connect.instructions.scope",links: {diff --git a/modules/openid_connect/app/models/openid_connect/provider.rb b/modules/openid_connect/app/models/openid_connect/provider.rbindex 158729ea15d..ae0046f75b7 100644--- a/modules/openid_connect/app/models/openid_connect/provider.rb+++ b/modules/openid_connect/app/models/openid_connect/provider.rb@@ -33,7 +33,7 @@ module OpenIDConnectstore_attribute :options, :scheme, :stringstore_attribute :options, :port, :string- store_attribute :options, :scope, :string+ store_attribute :options, :scope, :string, default: "openid email profile"store_attribute :options, :claims, :stringstore_attribute :options, :acr_values, :string