mirror of
https://github.com/elyby/omniauth-ely.git
synced 2024-11-30 02:33:05 +05:30
Possible fix for omniauth-oauth2 package support
This commit is contained in:
parent
d8abf6d0ba
commit
a0d9dc71dd
@ -42,6 +42,10 @@ module OmniAuth
|
|||||||
def profile_url
|
def profile_url
|
||||||
'http://ely.by/u' + raw_info['id'].to_s
|
'http://ely.by/u' + raw_info['id'].to_s
|
||||||
end
|
end
|
||||||
|
|
||||||
|
def callback_url
|
||||||
|
options[:redirect_uri] || (full_host + script_name + callback_path)
|
||||||
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user