-
-
Notifications
You must be signed in to change notification settings - Fork 264
Closed
Description
Since version 1.1.1, a NoMethodError is thrown in OAuth::RequestProxy::ActionControllerRequest#parameters:
NoMethodError:
undefined method 'wrap_values' for an instance of OAuth::RequestProxy::ActionControllerRequest
# /gems/ruby-3.4.6/gems/oauth-1.1.2/lib/oauth/request_proxy/action_controller_request.rb:28:in 'OAuth::RequestProxy::ActionControllerRequest#parameters'
# /gems/ruby-3.4.6/gems/oauth-1.1.2/lib/oauth/request_proxy/base.rb:43:in 'OAuth::RequestProxy::Base#oauth_signature_method'
# /gems/ruby-3.4.6/gems/oauth-1.1.2/lib/oauth/signature.rb:16:in 'OAuth::Signature.build'
It seems like that method is also not covered by specs, hence suggesting that it is indeed an issue with the oauth gem.
Reproduction Steps:
In a Rails app, execute the following:
request = ActionController::TestRequest.create(ApplicationController)
OAuth::Signature.build(request)Result:
'<main>': undefined method 'wrap_values' for an instance of OAuth::RequestProxy::ActionControllerRequest (NoMethodError)
rq = wrap_values(request_params)
^^^^^^^^^^^
Environment:
ruby 3.4.6 (2025-09-16 revision dbd83256b1) +YJIT +PRISM [arm64-darwin25]
oauth 1.1.2