summaryrefslogtreecommitdiff
path: root/config/initializers/doorkeeper.rb
diff options
context:
space:
mode:
Diffstat (limited to 'config/initializers/doorkeeper.rb')
-rw-r--r--config/initializers/doorkeeper.rb6
1 files changed, 6 insertions, 0 deletions
diff --git a/config/initializers/doorkeeper.rb b/config/initializers/doorkeeper.rb
index 1cf70909997..4533779339a 100644
--- a/config/initializers/doorkeeper.rb
+++ b/config/initializers/doorkeeper.rb
@@ -106,4 +106,10 @@ Doorkeeper.configure do
# realm "Doorkeeper"
base_controller '::Gitlab::BaseDoorkeeperController'
+
+ # Allow Resource Owner Password Credentials Grant without client credentials,
+ # this was disabled by default in Doorkeeper 5.5.
+ #
+ # We might want to disable this in the future, see https://gitlab.com/gitlab-org/gitlab/-/issues/323615
+ skip_client_authentication_for_password_grant true
end