Skip to content

Commit

Permalink
Fix compatibility with omniauth-oauth2 v1.4+
Browse files Browse the repository at this point in the history
  • Loading branch information
pjg committed Jun 21, 2017
1 parent cdf47bb commit 8c550ca
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/omniauth/strategies/createsend.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ class CreateSend < OmniAuth::Strategies::OAuth2
:authorize_url => "/oauth",
:token_url => "/oauth/token"
}

def callback_url
full_host + script_name + callback_path
end
end
end
end
Expand Down

0 comments on commit 8c550ca

Please sign in to comment.