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 omniauth dependency to support 1.0 and 2.0 #3

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

wilson29thid
Copy link

At the moment, I can't install this gem alongside omniauth 2.0 because 2.0's rails_csrf_protection requires omniauth be at least 2.0. This PR lets you install this gem alongside omniauth 1.0 or 2.0.

It's worth noting that the official omniauth gems (in the omniauth org), e.g. omniauth-github, have simply changed "~> 1.0" to "~> 2.0" and bumped the major version of their gem alongside it, but that's presumably because the gem itself required code changes. This one seems to work fine with omniauth 2.0, so I see no reason to bump its major version.

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