Skip to content

Use oauth2 1.3.1 or lower#12

Open
siegy22 wants to merge 1 commit intojackdempsey:masterfrom
siegy22:master
Open

Use oauth2 1.3.1 or lower#12
siegy22 wants to merge 1 commit intojackdempsey:masterfrom
siegy22:master

Conversation

@siegy22
Copy link

@siegy22 siegy22 commented Mar 6, 2017

Currently there's an issue when using a higher version of oauth2 than
1.3.1. See #10.
When this issue is resolved, this can be set to a higher version
again, but until then, let's keep this to the version where it still works.

Currently there's an issue when using a higher version of oauth2 than
1.3.1. See #10.
When this issue is resolved, this can be set to a higher version
again, but until then, let's keep this to the version where it still works.
@onebree
Copy link

onebree commented Mar 14, 2017

Here's the github issue that talks about this omniauth-oauth2 bug:

omniauth/omniauth-oauth2#81

@urkle
Copy link

urkle commented Mar 31, 2017

This isn't the correct solution to this bug the Updates devs are not going to change the behavior anytime at all.. So the correct fix is to simply implement an overridden callback_url method in the strategy that does the old behaviour.

  def callback_url
     full_host + script_name + callback_path
  end

rosalinekarr added a commit to rosalinekarr/omniauth-reddit that referenced this pull request Jan 14, 2018
I added a `callback_url` method to the strategy to fix [this known issue](jackdempsey#12) in OAuth2.
rosalinekarr added a commit to rosalinekarr/omniauth-reddit that referenced this pull request Jan 14, 2018
I added a `callback_url` method to the strategy to fix [this known issue](jackdempsey#12) in OAuth2.
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