diff --git a/lib/omniauth/strategies/linkedin.rb b/lib/omniauth/strategies/linkedin.rb index bb28cea..523836d 100755 --- a/lib/omniauth/strategies/linkedin.rb +++ b/lib/omniauth/strategies/linkedin.rb @@ -44,6 +44,10 @@ class LinkedIn < OmniAuth::Strategies::OAuth2 { 'raw_info' => raw_info } end + def callback_url + full_host + script_name + callback_path + end + alias :oauth2_access_token :access_token def access_token