Defect #5531

using OpenID: undefined method: request_uri for URI::Generic

Added by Nikita Borisov over 12 years ago. Updated over 12 years ago.

Status:ClosedStart date:2010-05-15
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:-
Target version:-
Resolution:Invalid Affected version:0.9.3

Description

I am trying out Redmine 0.9.3. I installed Redmine manually on one of my servers, and then installed it using the Ubuntu lucid package on another. I was able to configure both instances to work, but have not been able to get OpenID support running. I installed the openid gem / libopenid-ruby, and this enabled the OpenID checkbox in the settings. But when I try to log in by supplying an OpenID URL, I get the following error:

Processing AccountController#login (for 130.126.140.193 at 2010-05-15 07:23:09) [POST]
Parameters: {"back_url"=>"http%3A%2F%2Flocalhost%3A8080%2F", "openid_url"=>"www.google.com/profiles/nikitab/", "action"=>"login", "authenticity_token"=>"bd222219533b15d9bd7bb725551a80397d7cf790", "username"=>"", "controller"=>"account", "password"=>"[FILTERED]", "login"=>"Login \302\273"}
[OPENID] Failed to fetch identity URL http://www.google.com/profiles/nikitab/ : Error encountered in redirect from http://www.google.com/profiles/nikitab/: Error fetching /profiles/nikitab: undefined method `request_uri' for #<URI::Generic:0x7f8ee2101c10 URL:/profiles/nikitab>
Rendering template within layouts/base
Rendering account/login
Completed in 70ms (View: 15, DB: 2) | 200 OK [http://localhost/login]

Any thoughts on how to fix this?

History

#1 Updated by Felix Schäfer over 12 years ago

Just googled (sic) around a bit, try https://www.google.com/accounts/o8/id.

#2 Updated by Nikita Borisov over 12 years ago

  • Status changed from New to Resolved

Thanks, that worked!

#3 Updated by Felix Schäfer over 12 years ago

  • Status changed from Resolved to Closed
  • Resolution set to Invalid

Also available in: Atom PDF