lib/omniauth/strategies/linkedin.rb in omniauth-linkedin-oauth2-0.1.2 vs lib/omniauth/strategies/linkedin.rb in omniauth-linkedin-oauth2-0.1.3

- old
+ new

@@ -9,10 +9,11 @@ # This is where you pass the options you would pass when # initializing your consumer from the OAuth gem. option :client_options, { :site => 'https://api.linkedin.com', :authorize_url => 'https://www.linkedin.com/uas/oauth2/authorization?response_type=code', - :token_url => 'https://www.linkedin.com/uas/oauth2/accessToken' + :token_url => 'https://www.linkedin.com/uas/oauth2/accessToken', + :token_method => :get } option :token_params, { :mode => :query }