We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 763b798 commit ba98609Copy full SHA for ba98609
lib/omniauth/strategies/constantcontact2.rb
@@ -5,11 +5,11 @@
5
module OmniAuth
6
module Strategies
7
class ConstantContact2 < OmniAuth::Strategies::OAuth2
8
-
+
9
DEFAULT_RESPONSE_TYPE = 'code'
10
DEFAULT_GRANT = 'authorization_code'
11
API_PATH = 'https://api.constantcontact.com/v2'
12
13
option :name, "constantcontact"
14
15
option :client_options, {
@@ -54,6 +54,10 @@ def raw_info
54
}
55
@raw_info ||= JSON.parse(access_token.get("#{API_PATH}/account/info", options).body)
56
end
57
58
+ def callback_url
59
+ full_host + script_name + callback_path
60
+ end
61
62
63
0 commit comments