Project

General

Profile

Openid login results in a 404

Added by Dave Carpeneto almost 14 years ago

If I attempt to login with my yahoo UID / password I get a 404. Production log shows the following for what I'm doing:

Processing AccountController#login (for 174.115.64.120 at 2010-05-06 09:52:32) [GET]
  Parameters: {"action"=>"login", "controller"=>"account"}
Rendering template within layouts/base
Rendering account/login
Completed in 9ms (View: 7, DB: 0) | 200 OK [http://_YYY_/login]

Processing AccountController#login (for 174.115.64.120 at 2010-05-06 09:52:45) [POST]
  Parameters: {"openid_url"=>"_XXX_@yahoo.com", "action"=>"login", "authenticity_token"=>
"Gn+TsI0zOzR7r50C6CkABe1p+5+eiYMLw+df+txFsPk=", "username"=>"", "controller"=>"account",
 "password"=>"[FILTERED]", "login"=>"Login »"}
Generated checkid_setup request to https://open.login.yahooapis.com/openid/op/auth with assocication 
ZiESoQgC00pvKGnfeuKQ3AOdr_fBiPF09nRR1PWom_VlHpc8w1CLVXQNn_5rTNQJis2Zo4WkdPeTj8X6CQzI_1mOq
15DGUXAwyYJ94hVAApEV41PIqP3CyDoyR.a1bOumg--
Redirected to https://open.login.yahooapis.com/openid/op/auth?openid.assoc_handle=ZiESoQgC00pvKGnfeuKQ3AOdr_
fBiPF09nRR1PWom_VlHpc8w1CLVXQNn_5rTNQJis2Zo4WkdPeTj8X6CQzI_
1mOq15DGUXAwyYJ94hVAApEV41PIqP3CyDoyR.a1bOumg--&openid.ax.mode=fetch_request&openid.claimed_id=http%3A%2F%2F
specs.openid.net%2Fauth%2F2.0%2Fidentifier_select&openid.identity=http%3A%2F%2Fspecs.openid.net%2Fauth%2F2.0%2F
identifier_select&openid.mode=checkid_setup&openid.ns=http%3A%2F%2Fspecs.openid.net%2Fauth%2F2.0&openid.ns.ax=
http%3A%2F%2Fopenid.net%2Fsrv%2Fax%2F1.0&openid.ns.sreg=http%3A%2F%2Fopenid.net%2Fextensions%2Fsreg%2F1.1&
openid.realm=http%3A%2F%2F_YYY_%2F&openid.return_to=http%3A%2F%2F_YYY_%2Flogin%3F_method%3Dpost%26
open_id_complete%3D1&openid.sreg.required=nickname%2Cfullname%2Cemail
Completed in 148ms (DB: 0) | 302 Found [http://_YYY_/login]

Processing WelcomeController#index (for 68.142.241.109 at 2010-05-06 09:52:46) [GET]
  Parameters: {"action"=>"index", "controller"=>"welcome"}
Rendering template within layouts/base
Rendering welcome/index
Completed in 17ms (View: 12, DB: 0) | 200 OK [http://_YYY_/]

Processing ApplicationController#index (for 174.115.64.120 at 2010-05-06 09:52:49) [GET]

ActionController::RoutingError (No route matches "/403.shtml" with {:method=>:get}):

Rendering /home/carpenet/rails_apps/redmine/public/404.html (404 Not Found)

... where XXX is my yahoo ID & YYY is my server name. The https://open.login.yahoo.com page that confirms I want to log in seems to work fine - the issue is on the return to redmine.

Is there any debugging I can enable to see what's going on ?

About your application's environment
Ruby version              1.8.7 (i686-linux)
RubyGems version          1.3.5
Rack version              1.0
Rails version             2.3.5
Active Record version     2.3.5
Active Resource version   2.3.5
Action Mailer version     2.3.5
Active Support version    2.3.5
Edge Rails revision       unknown
Application root          /home/carpenet/rails_apps/redmine
Environment               production
Database adapter          mysql
Database schema version   20100221100219

Thanks - Dave