Skip to content

Commit 89dfd77

Browse files
committed
Add callback_url
1 parent 559d878 commit 89dfd77

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

lib/omniauth/strategies/wantedly.rb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,10 @@ class Wantedly < OmniAuth::Strategies::OAuth2
2727
def raw_info
2828
@raw_info ||= access_token.get('/api/auth').parsed
2929
end
30+
31+
def callback_url
32+
full_host + script_name + callback_path
33+
end
3034
end
3135
end
3236
end

0 commit comments

Comments
 (0)