Permalink
Browse files

Another attempt at instance_url support

  • Loading branch information...
1 parent 44e191b commit 9d8615d4f1eed6c6dfaf9726c124fa54c5506ecb @aaronvegh committed Feb 16, 2011
Showing with 2 additions and 1 deletion.
  1. +2 −1 lib/oauth2/strategy/web_server.rb
@@ -24,7 +24,8 @@ def get_access_token(code, options = {})
access = params['access_token']
refresh = params['refresh_token']
expires_in = params['expires_in']
- OAuth2::AccessToken.new(@client, access, refresh, expires_in, params)
+ instance_url = params['instance_url']
+ OAuth2::AccessToken.new(@client, access, refresh, expires_in, instance_url, params)
end
# <b>DEPRECATED:</b> Use #get_access_token instead.

0 comments on commit 9d8615d

Please sign in to comment.