Defect #8473
OpenID authentication fails on redmine 1.2.0
| Status: | New | Start date: | 2011-05-31 | |
|---|---|---|---|---|
| Priority: | Normal | Due date: | ||
| Assignee: | - | % Done: | 0% | |
| Category: | OpenID | |||
| Target version: | - | |||
| Affected version: | 1.2.0 | Resolution: |
Description
NoMethodError (undefined method `destroy' for {"OpenID::Consumer::last_requested_endpoint"=>nil}:Hash):
app/controllers/application_controller.rb:89:in `logged_user='
app/controllers/account_controller.rb:203:in `successful_authentication'
app/controllers/account_controller.rb:192:in `open_id_authenticate'
app/controllers/account_controller.rb:161:in `open_id_authenticate'
app/controllers/account_controller.rb:140:in `authenticate_user'
app/controllers/account_controller.rb:30:in `login'
/usr/lib/ruby/1.8/mongrel.rb:159:in `process_client'
/usr/lib/ruby/1.8/mongrel.rb:158:in `each'
/usr/lib/ruby/1.8/mongrel.rb:158:in `process_client'
/usr/lib/ruby/1.8/mongrel.rb:285:in `run'
/usr/lib/ruby/1.8/mongrel.rb:285:in `initialize'
/usr/lib/ruby/1.8/mongrel.rb:285:in `new'
/usr/lib/ruby/1.8/mongrel.rb:285:in `run'
/usr/lib/ruby/1.8/mongrel.rb:268:in `initialize'
/usr/lib/ruby/1.8/mongrel.rb:268:in `new'
/usr/lib/ruby/1.8/mongrel.rb:268:in `run'
Rendering /srv/redmine/redmine-1.2.0/public/500.html (500 Internal Server Error)
Related issues
History
#1 Updated by Etienne Massip about 2 years ago
Guess it's related to #7857, if not dup.
#2 Updated by Etienne Massip about 2 years ago
- Category set to Accounts / authentication
#3 Updated by Ward V almost 2 years ago
I'm also seeing this on stock 1.2.0, openid login seems entirely broken.
#4 Updated by Etienne Massip almost 2 years ago
What is stock ? Did you add Mongrel patches as required (see RedmineInstall) ?
#5 Updated by Tim marston almost 2 years ago
Etienne Massip wrote:
Guess it's related to #7857, if not dup.
Quite possibly. The workaround suggested here also seems to fix this issue with OpenID logins as well (or it does for me, at least).
#6 Updated by Etienne Massip almost 2 years ago
- Category changed from Accounts / authentication to OpenID