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

Hide SSO+fallback authentication method

Jan Sandbrinkc24b5b201a1b
diff --git a/modules/storages/app/models/storages/nextcloud_storage.rb b/modules/storages/app/models/storages/nextcloud_storage.rb
index f5c3afc3783..081f77a5b07 100644
--- a/modules/storages/app/models/storages/nextcloud_storage.rb
+++ b/modules/storages/app/models/storages/nextcloud_storage.rb
@@ -35,7 +35,9 @@ module Storages
username: "OpenProject"
}.freeze
- AUTHENTICATION_METHODS = %w[two_way_oauth2 oauth2_sso oauth2_sso_with_two_way_oauth2_fallback].freeze
+ # oauth2_sso_with_two_way_oauth2_fallback has been temporarily removed because the openproject_integration
+ # on the nextcloud side does not support this yet (we can't configure audience AND oauth_client at the same time)
+ AUTHENTICATION_METHODS = %w[two_way_oauth2 oauth2_sso].freeze
store_attribute :provider_fields, :automatically_managed, :boolean
store_attribute :provider_fields, :username, :string