Skip to content

Commit 11b8bf4

Browse files
Merge pull request #29 from iainbeeston/patch-1
Overrode omniauth-oauth2 callback to exclude params
2 parents f1e2b22 + a44d2cb commit 11b8bf4

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

lib/omniauth/strategies/linkedin.rb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,10 @@ class LinkedIn < OmniAuth::Strategies::OAuth2
4444
{ 'raw_info' => raw_info }
4545
end
4646

47+
def callback_url
48+
full_host + script_name + callback_path
49+
end
50+
4751
alias :oauth2_access_token :access_token
4852

4953
def access_token

0 commit comments

Comments
 (0)