We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f399b3a commit 98faf13Copy full SHA for 98faf13
lib/rack/oauth2.rb
@@ -42,8 +42,8 @@ def self.debug(&block)
42
43
def self.http_client(agent_name = "Rack::OAuth2 (#{VERSION})", &local_http_config)
44
Faraday.new(headers: {user_agent: agent_name}) do |faraday|
45
- faraday.request :json
46
faraday.request :url_encoded
+ faraday.request :json
47
faraday.response :logger, Rack::OAuth2.logger if debugging?
48
faraday.adapter Faraday.default_adapter
49
local_http_config&.call(faraday)
@@ -58,7 +58,6 @@ def self.http_config(&block)
58
def self.reset_http_config!
59
@@http_config = nil
60
end
61
-
62
63
64
0 commit comments