-
Notifications
You must be signed in to change notification settings - Fork 9
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
First attempt at fixing CVE-2015-9284 #2
base: master
Are you sure you want to change the base?
Conversation
I noticed this didn't seem to be taking into effect the initializer when trying to install it in my rails app (rails 4.2.11.1) it should add I have an initializer in my app already that uses line I used to install it
|
There's a typo in the file path of gem 'omniauth-rails', git: "https://github.com/omniauth/omniauth-rails.git", branch: "CVE-2015-9284", require: "omiauth-rails" Still doing more testing but that registers the Railtie as expected. |
@gshutler Is this gem to be used alongside OmniAuth? |
@gshutler Shouldn't the typo-workaround rather be @akhil-gautam |
@svoop Yes 🤦♂ - have updated my comment, thanks. |
@gshutler thanks that includes the railtie but now I get this error when trying to click on one of my login links
|
I worked around the
|
Thank you so much for putting this together! Any way I can help push this forward? |
@dankozlowski Thanks! Just been super busy. Should have something out soon. Honestly, the best thing would be any discourse on the original thread. Any suggestions for some plans that I'll post soon are highly encouraged. Trying to limit damage to developers. |
@jcope2013 I fixed the naming issue. What provider gem are you using? Is there a chance that it's being updated later down the chain? |
thanks, I am using https://github.com/zquestz/omniauth-google-oauth2 and have an initializer where I configure it |
@jcope2013 Hmm, out of curiosity, were you able to try it since the naming changes? If not, would you mind doing so? Thanks a lot for your help! |
@tmilewski thanks, yeah was still getting the error after the naming change |
@tmilewski your branch is working well for me. Thanks! @nickgrim is there any way we can get this merged and released? It would have to be a major version bump, and I know that can take some effort. |
@nickgrim there's a lot of interest in getting this PR merged and released. Is there anything I can do to help with that? |
@sbleon: I'm not a maintainer; that was just a drive-by code-review. ;) |
Oh, my bad! Thanks for filling me in, @nickgrim . Now that I'm actually trying to understand what's going on, I'm SUPER confused.
I'm coming to the conclusion that we need to publish a new gem, called something like Does that all make sense, or am I crazy over here? |
There is already https://rubygems.org/gems/omniauth-rails_csrf_protection which was released by sikachu (who is on the rails core team, so pretty credible), and I've been using this since June. This repo seems a bit redundant? |
There's some instructions here that might be of help! |
Hey guys, I have a doubt maybe here somebody can suggest something. So, I'm not sure what could I do.
I hope I could explain myself. And if you have any suggestion, please share it! |
It seems like omniauth-rails is not actually the correct gem: omniauth/omniauth-rails#2 (comment) Here's the relevant instructions: https://github.com/omniauth/omniauth/wiki/Resolving-CVE-2015-9284
It seems like omniauth-rails is not actually the correct gem: omniauth/omniauth-rails#2 (comment) Here's the relevant instructions: https://github.com/omniauth/omniauth/wiki/Resolving-CVE-2015-9284
It seems like omniauth-rails is not actually the correct gem: omniauth/omniauth-rails#2 (comment) Here's the relevant instructions: https://github.com/omniauth/omniauth/wiki/Resolving-CVE-2015-9284
It seems like omniauth-rails is not actually the correct gem: omniauth/omniauth-rails#2 (comment) Here's the relevant instructions: https://github.com/omniauth/omniauth/wiki/Resolving-CVE-2015-9284
No description provided.