Skip to content

Commit 4c8bb45

Browse files
committed
Salesforce no longer accepts a post to this endpoint as valid
richardvanhook#13
1 parent dc1cd87 commit 4c8bb45

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/omniauth/strategies/salesforce.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ def auth_hash
6969
def raw_info
7070
access_token.options[:mode] = :query
7171
access_token.options[:param_name] = :oauth_token
72-
@raw_info ||= access_token.post(access_token['id']).parsed
72+
@raw_info ||= access_token.get(access_token['id']).parsed
7373
end
7474

7575
extra do

0 commit comments

Comments
 (0)