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 omniauth-oauth2 1.4 callback_url regression #4

Merged
merged 1 commit into from
Feb 23, 2016

Conversation

jtokoph
Copy link
Contributor

@jtokoph jtokoph commented Dec 5, 2015

Bug introduced by omniauth-oauth2 change: omniauth/omniauth-oauth2#70
Fixes #3

def callback_url
full_host + script_name + callback_path
end

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Trailing whitespace detected.

jcgertig added a commit that referenced this pull request Feb 23, 2016
Fix omniauth-oauth2 1.4 callback_url regression
@jcgertig jcgertig merged commit aee8799 into WebTheoryLLC:master Feb 23, 2016
l1h3r pushed a commit to l1h3r/omniauth-infusionsoft that referenced this pull request Mar 16, 2018
* Fix compatibility with omniauth-oauth 1.4+

References:
* omniauth/omniauth-oauth2#70
* omniauth/omniauth-oauth2@2615267
* omniauth/omniauth-oauth2#82
* jdennes/omniauth-createsend#3
* WebTheoryLLC/omniauth-twitch#4
* jdennes/omniauth-createsend#5
* DripEmail/omniauth-drip#6

* Don't force https if it's localhost

* Allow 127.0.0.1 and localhost to be on http

* Lookup IP for the given host and force ssl

Avoid to force ssl for local IPs (127/8 network)

* Improve resolving

* Improve even more

* Fix regexp

* Allow fe80::* entirely
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