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
Adds feedback from Andreas
Marcello Rocha13376811b337
diff --git a/app/services/oauth_clients/connection_manager.rb b/app/services/oauth_clients/connection_manager.rbindex d5fc4b27191..2ed9b21d9d6 100644--- a/app/services/oauth_clients/connection_manager.rb+++ b/app/services/oauth_clients/connection_manager.rb@@ -55,8 +55,7 @@ module OAuthClients# Return the Nextcloud OAuth authorization URI that a user needs to open to grant access and eventually obtain# a token.- full_scope = @config.compute_scopes(scope)- @redirect_url = get_authorization_uri(scope: full_scope, state:)+ @redirect_url = get_authorization_uri(scope:, state:)ServiceResult.failure(result: @redirect_url)end@@ -91,7 +90,7 @@ module OAuthClients# @param scope (OAuth2 RFC) specifies the resources to access. Nextcloud has only one global scope.def get_authorization_uri(scope: [], state: nil)client = rack_oauth_client # Configure and start the rack-oauth2 client- joined_scopes = @config ? @config.compute_scopes(scope) : scope+ joined_scopes = @config.compute_scopes(scope)client.authorization_uri(scope: joined_scopes, state:)end