Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix compatibility with omniauth-oauth 1.4+ #8

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

@redtachyons
Copy link

@asanghi Please merge this PR, build issue is unrelated

@jagthedrummer
Copy link

Would be nice to have this merged and a version bump.

@jagthedrummer
Copy link

In the mean time we're doing this in an initializer:

# Constant Contact Monkey Patch ---------------------------------------------
# Once the following PR is merged and a new version of the gem is released we
# can ditch this monkey patch.
# https://github.com/asanghi/omniauth-constantcontact2/pull/8
module ConstantContactMonkeyPatch
  def callback_url
    full_host + script_name + callback_path
  end
end
OmniAuth::Strategies::ConstantContact2.include ConstantContactMonkeyPatch
# End Constant Contact Monkey Patch -----------------------------------------

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants