lib/omniauth/strategies/avvo.rb in omniauth-avvo-0.0.4 vs lib/omniauth/strategies/avvo.rb in omniauth-avvo-0.0.5

- old
+ new

@@ -39,9 +39,13 @@ json = access_token.get('/api/2/users/me').body user_data = JSON.parse(json) || {} rescue {} user_data["user"] || {} end end + + def callback_url + full_host + script_name + callback_path + end end end end