Skip to content

Commit 09e0b99

Browse files
committed
Added callback_url option
1 parent e421860 commit 09e0b99

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
@@ -59,6 +59,10 @@ def raw_info
5959
@raw_info ||= access_token.get("/v1/people/~:(#{option_fields.join(',')})?format=json").parsed
6060
end
6161

62+
def callback_url
63+
options[:callback_url] || super
64+
end
65+
6266
private
6367

6468
def option_fields

0 commit comments

Comments
 (0)