Skip to content

Commit

Permalink
Switch id request from get to put
Browse files Browse the repository at this point in the history
This makes it work... post doesn't work. BLARGH.

Many bothans died over 3 hours to bring us this realization.
  • Loading branch information
David Haley committed Oct 6, 2014
1 parent 1c2bfc0 commit a3445d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/omniauth/strategies/salesforce.rb
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ def auth_hash
def raw_info
access_token.options[:mode] = :query
access_token.options[:param_name] = :oauth_token
@raw_info ||= access_token.post(access_token['id']).parsed
@raw_info ||= access_token.get(access_token['id']).parsed
end

extra do
Expand Down

1 comment on commit a3445d8

@mikecomstock
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for this!

Please sign in to comment.