Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #444 from sailavu/master

Add additional fields to Salesforce strategy.
  • Loading branch information...
commit b8041a817ab028ec73305c4cc2202882203562c4 2 parents 59f048f + 4e4c361
@sferik sferik authored
Showing with 3 additions and 0 deletions.
  1. +3 −0  oa-oauth/lib/omniauth/strategies/oauth2/salesforce.rb
View
3  oa-oauth/lib/omniauth/strategies/oauth2/salesforce.rb
@@ -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,
Please sign in to comment.
Something went wrong with that request. Please try again.