Skip to content

Fix compatibility with omniauth-oauth 1.4+#8

Open
pjg wants to merge 1 commit intoasanghi:masterfrom
Hello-bar:master
Open

Fix compatibility with omniauth-oauth 1.4+#8
pjg wants to merge 1 commit intoasanghi:masterfrom
Hello-bar:master

Conversation

@redtachyons
Copy link
Copy Markdown

@asanghi Please merge this PR, build issue is unrelated

@jagthedrummer
Copy link
Copy Markdown

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

@jagthedrummer
Copy link
Copy Markdown

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