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

Update for compatibility with omniauth-oauth2 1.4 #4

Merged
1 commit merged into from
Jun 8, 2016

Conversation

comp615
Copy link
Contributor

@comp615 comp615 commented Jun 3, 2016

As mentioned in omniauth/omniauth-oauth2#81 and #3, version 1.4 of omniauth-oauth2 has an issue with query params being broken. Previously it overrode the callback_url, but now it no longer matches, causing all callbacks to fail.

This patch should fix the functionality to allow maximum compatibility with other versions. It's basically what many other strategy authors have done. Hope that helps!

@comp615 comp615 changed the title Update for compatibility with omniauth-2 1.4 Update for compatibility with omniauth-oauth2 1.4 Jun 3, 2016
@ghost ghost merged commit e6b15f7 into Blizzard:master Jun 8, 2016
@ghost
Copy link

ghost commented Jun 8, 2016

Works great and solves the bug, thanks for this!

This pull request was closed.
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.

1 participant