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

Remove state lambda

Oliver Güntherd5987fa6c1b6
diff --git a/modules/openid_connect/app/models/openid_connect/provider/hash_builder.rb b/modules/openid_connect/app/models/openid_connect/provider/hash_builder.rb
index 5e59c017895..388547cd5b0 100644
--- a/modules/openid_connect/app/models/openid_connect/provider/hash_builder.rb
+++ b/modules/openid_connect/app/models/openid_connect/provider/hash_builder.rb
@@ -32,8 +32,7 @@ module OpenIDConnect
when "google"
{
client_auth_method: :not_basic,
- send_nonce: false, # use state instead of nonce
- state: lambda { SecureRandom.hex(42) }
+ send_nonce: false
}
when "microsoft_entra"
{