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

- old
+ new

@@ -9,15 +9,10 @@ # 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_method => :get - } - - option :token_params, { - :mode => :query + :token_url => 'https://www.linkedin.com/uas/oauth2/accessToken' } option :scope, 'r_basicprofile r_emailaddress' option :fields, ['id', 'email-address', 'first-name', 'last-name', 'headline', 'location', 'industry', 'picture-url', 'public-profile-url']