lib/omniauth/strategies/linkedin_oauth2.rb in omniauth-linkedin-oauth2-0.0.2 vs lib/omniauth/strategies/linkedin_oauth2.rb in omniauth-linkedin-oauth2-0.0.3

- old
+ new

@@ -7,12 +7,12 @@ option :name, 'linkedin_oauth2' # This is where you pass the options you would pass when # initializing your consumer from the OAuth gem. option :client_options, { - :site => 'https://www.linkedin.com', - :authorize_url => '/uas/oauth2/authorization?response_type=code', - :token_url => '/uas/oauth2/accessToken' + :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' } option :scope, 'r_basicprofile r_emailaddress' option :fields, ['id', 'email-address', 'first-name', 'last-name', 'headline', 'location', 'industry', 'picture-url', 'public-profile-url']