Skip to content

Commit

Permalink
Merge pull request omniauth#444 from sailavu/master
Browse files Browse the repository at this point in the history
Add additional fields to Salesforce strategy.
  • Loading branch information
sferik committed Aug 29, 2011
2 parents 59f048f + 4e4c361 commit b8041a8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions oa-oauth/lib/omniauth/strategies/oauth2/salesforce.rb
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,10 @@ def auth_hash
super, {
'uid' => @access_token['id'],
'credentials' => {
'issued_at' => @access_token['issued_at'],
'refresh_token' => @access_token.refresh_token,
'instance_url' => @access_token['instance_url'],
'signature' => @access_token['signature'],
},
'extra' => {
'user_hash' => data,
Expand Down

0 comments on commit b8041a8

Please sign in to comment.