Skip to content

Commit 7c3bf1f

Browse files
authored
Merge pull request #5 from Hello-bar/master
Fix compatibility with omniauth-oauth2 v1.4+
2 parents cdf47bb + 8c550ca commit 7c3bf1f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

lib/omniauth/strategies/createsend.rb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@ class CreateSend < OmniAuth::Strategies::OAuth2
99
:authorize_url => "/oauth",
1010
:token_url => "/oauth/token"
1111
}
12+
13+
def callback_url
14+
full_host + script_name + callback_path
15+
end
1216
end
1317
end
1418
end

0 commit comments

Comments
 (0)