Possible fix for omniauth-oauth2 package support

This commit is contained in:
ErickSkrauch 2017-10-31 14:36:30 +03:00
parent d8abf6d0ba
commit a0d9dc71dd
No known key found for this signature in database
GPG Key ID: 669339FCBB30EE0E

View File

@ -42,6 +42,10 @@ module OmniAuth
def profile_url
'http://ely.by/u' + raw_info['id'].to_s
end
def callback_url
options[:redirect_uri] || (full_host + script_name + callback_path)
end
end
end
end