Comments (6)
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.
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.
when I use the my yahoo account for open id to sign in, I get the same error.
from omniauth.
@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.
Thin worked for me too. Thanks.
from omniauth.
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)
- Really confused about implementation HOT 4
- How to configure OmniAuth::AuthenticityTokenProtection for Hanami HOT 1
- Loading strategies from database HOT 1
- Feature Request: sign in with Ethereum HOT 3
- Omniauth failed to detect the url -> Authentication passthru HOT 1
- nil error in `callback_path` after omniauth 2 update HOT 8
- Programatically invoke an omniauth strategy HOT 3
- `Rack::Builder#to_app` is not designed to be called for every request. HOT 18
- CSRF in Rack for callbacks requests
- Compatibility issues with rack-protection 3.x HOT 5
- Add Bake test for devise
- SSO Attlassian -> Gitlab (new user) HOT 1
- Memory leak possible HOT 2
- Allow customization of the login form? HOT 2
- Issues with oauth2 and doorkeeper on callback phase (invalid_request Missing required parameter: client_id) HOT 5
- Request phase - ActionController::InvalidAuthenticityToken even after skip_before_action HOT 1
- why user_response_structure's image have no effect HOT 2
- Need to update rack configuration from 2.2.3 to 2.2.3.1 HOT 1
- rack's executable "rackup" conflicts with rackup HOT 4
- Authentication failure! undefined method 'headers' HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from omniauth.