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

[#55472] Extend omniauth_user_authorized comment.

Pavel Balashou400d3b0bf62c
diff --git a/modules/openid_connect/lib/open_project/openid_connect/hooks/hook.rb b/modules/openid_connect/lib/open_project/openid_connect/hooks/hook.rb
index 0b4c31df3b4..f2d44683076 100644
--- a/modules/openid_connect/lib/open_project/openid_connect/hooks/hook.rb
+++ b/modules/openid_connect/lib/open_project/openid_connect/hooks/hook.rb
@@ -41,8 +41,8 @@ module OpenProject::OpenIDConnect
end
##
- # Once omniauth has returned with an auth hash
- # persist the access token
+ # Called once omniauth has returned with an auth hash
+ # NOTE: It's a passthrough as we no longer persist the access token into the cookie
def omniauth_user_authorized(_context); end
end
end