Code Monkey home page Code Monkey logo

Comments (6)

ryanb avatar ryanb commented on May 14, 2024

Actually, it sometimes happens without the "http" portion in the identifier, so I don't think that is a factor. It seems to work with Mongrel so maybe this is specific to WEBrick.

from omniauth.

mbleigh avatar mbleigh commented on May 14, 2024

I can't seem to replicate this with Webrick 1.3.1 and my own MyOpenID URL. The URL used in this case isn't really the choice of OmniAuth but is rather part of the OpenID standard (you may want to doublecheck me on this, I relied on Rack::OpenID to perform the OpenID portion of OmniAuth so maybe there's some way to do it). Since it only seems to affect WEBrick I'm going to go ahead and close this one.

from omniauth.

cbrulak avatar cbrulak commented on May 14, 2024

when I use the my yahoo account for open id to sign in, I get the same error.

from omniauth.

ryanb avatar ryanb commented on May 14, 2024

@cbrulak, I think this is more-so a problem with WEBrick than Omniauth. The solution is to just use Mongrel.

gem 'mongrel', '1.2.0.pre2', :group => :development

from omniauth.

cbrulak avatar cbrulak commented on May 14, 2024

Thin worked for me too. Thanks.

from omniauth.

huenerbruehe avatar huenerbruehe commented on May 14, 2024

I had the same Problem with different openID Providers. It seems as if webrick does limit its max length of the uri by default. You can however change the maximum length in the file:

 ruby-directory/lib/ruby//webrick/httprequest.rb 

just look for the Errorline: RequestURITooLarge

right above you can change the max length. It should be around Line 246, depending on the Version of Webrick. I set the length to 2048 and never had this Problem since.

from omniauth.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.