OmniAuth Google OpenID WEBrick::HTTPStatus::RequestURITooLarge

后端 未结 5 1715
礼貌的吻别
礼貌的吻别 2020-12-17 14:20

I am using OmniAuth to allow users to log in with their Google OpenID accounts. When I try to log in in development mode with WEBrick, I get a WEBrick::HTTPStatus::RequestUR

5条回答
  •  野趣味
    野趣味 (楼主)
    2020-12-17 14:53

    As mentioned in railscast 236 for OmniAuth, WEBrick has trouble with long urls given by OpenID. The solution given that worked for me was to add Mongrel to your gemfile.

    gem 'mongrel', '1.2.0.pre2'

提交回复
热议问题