Vote #62694
完了OpenID login
100%
説明
Supporting OpenID login would facilitate User registration, as well as incorporating collaborators to projects.
journals
Read "here":http://rubyforge.org/forum/message.php?msg_id=38300 and "here":http://rubyforge.org/forum/message.php?msg_id=25685
But I'm voting for it too :)
--------------------------------------------------------------------------------
Is there any interest in a path?
I could send it
--------------------------------------------------------------------------------
.. a patch!
--------------------------------------------------------------------------------
Is there anymore traction on this? We would like this functionality as well, but would rather not break-away from the codebase.
--------------------------------------------------------------------------------
Antonio, you should post your patch in the patch tracker: it should interest many people.
--------------------------------------------------------------------------------
I would like also to have OpenID functionality, are there any chances it will be implemented?
Thanks a lot
BR
Antenore.
--------------------------------------------------------------------------------
I'm also voting for this feature.
--------------------------------------------------------------------------------
Another vote from me. I come from an enterprise environment where OpenID could solve SSO for our internal network/intranet in one swoop, using openid-ldap on top of our existing Active Directory. This will be a lot easier to handle in the long run than integrating each and every app through apache+kerberos or ldaps.
--------------------------------------------------------------------------------
I'd like to add OpenID login and registrations in Redmine. I get several collaborators on my projects and it would make things a lot easier if they could use OpenID to signup. I'm hoping to get this into 0.8 but I'm not promising anything yet.
--------------------------------------------------------------------------------
I've added OpenID support to Redmine. It's optional and by default is turned off. To turn it on, go to the Administration panel > Authentication and select the OpenID checkbox. When enabled this will allow users to login through their OpenID url.
h3. New user registration
If a new user account tries logs in with their OpenID, the system will create a user for them and then process the account like normal (e.g. needs administrator approval or needs email confirmation).
h3. Existing users
Existing users can edit their account ('/my/account') and add their OpenID to the identity_url field. Then they will be able to login using OpenID.
h3. Sponser
I'd like to thank Reiner Jung of Keyboard Monkeys for sponsoring this feature. Without him, it would have been awhile before I was able to work on it.
h3. Technical information
* I did some refactoring to AccountController in order to reduce the duplication.
* The openid rubygem is included in vendor/gems
* The open_id_authentication plugin is included in vendor/plugins
* We might want to refactor OpenID to act like an AuthSource later. Right now AuthSources are assumed to be LDAP and since I don't have a LDAP server to test with I didn't go that route and potentially break LDAP logins.
h3. Commits
Includes commits from r2437 to r2449
--------------------------------------------------------------------------------
Eric Davis, thanks for your great work.
But it seems that openid rubygem in vendor/gems is not used. I saw the following error while migrating database. It was resolved after I installed ruby-openid.
<pre>
$ rake db:migrate
(in /Users/maeda/NetBeansProjects/redmine)
Missing these required gems:
ruby-openid >= 2.0.4
You're running:
ruby 1.8.7.5000 at /usr/local/bin/ruby
rubygems 1.3.1 at /Users/maeda/.gem/ruby/1.8, /usr/local/lib/ruby/gems/1.8
Run `rake gems:install` to install the missing gems.
</pre>
My environment:
<pre>
$ ruby -v
ruby 1.8.7 (2008-11-15 revision 0) [i386-darwin9.5.1]
$ gem list rails
*** LOCAL GEMS ***
rails (2.2.2, 2.1.2, 2.1.1, 2.1.0)
$ svn info
Path: .
URL: http://redmine.rubyforge.org/svn/trunk
Repository Root: http://redmine.rubyforge.org/svn
Repository UUID: e93f8b46-1217-0410-a6f0-8f06a7374b81
Revision: 2450
Node Kind: directory
Schedule: normal
Last Changed Author: edavis10
Last Changed Rev: 2450
Last Changed Date: 2009-02-12 04:45:53 +0900 (木, 12 2 2009)
</pre>
--------------------------------------------------------------------------------
Go MAEDA wrote:
> Eric Davis, thanks for your great work.
> But it seems that openid rubygem in vendor/gems is not used. I saw the following error while migrating database. It was resolved after I installed ruby-openid.
Thanks, can you retry it with r2452? The open_id plugin was trying to load an older version of the gem which wasn't in vendor. I ended up changing the plugin so it used the bundled gem.
--------------------------------------------------------------------------------
Eric Davis wrote:
> Thanks, can you retry it with r2452? The open_id plugin was trying to load an older version of the gem which wasn't in vendor. I ended up changing the plugin so it used the bundled gem.
r2452 works fine. Thanks!
--------------------------------------------------------------------------------
I'm pretty sad to see that this feature got integrated into the core.
IMHO, it's a marginal feature. Adding dependencies and bundling gems in vendor/plugins doesn't make the application easier to maintain.
That's exactly the kind of thing that I'd like to see implemented as a plugin. Eric, you made a great job on plugins, why didn't you give it a try ? Having a plugable authentication would be a much better solution.
--------------------------------------------------------------------------------
For what it's worth, I'm happy to see it in core. While not a Redmine developer, as a user it's great to have this out of the box. One of the problems I've been running into is that people just don't want to create yet another account on some random Web site (i.e., mine). I actually had a partner on an open source project opt to go with Lighthouse and Google groups because of the hurdle in creating yet another account on yet another site.
That's not to say that it couldn't work as a plugin, but I don't want to have to spend an inordinate amount of time to make the system usable. I also suspect this would get used more than the LDAP integration would by the general populace.
--------------------------------------------------------------------------------
Jean-Philippe Lang wrote:
> I'm pretty sad to see that this feature got integrated into the core.
> IMHO, it's a marginal feature. Adding dependencies and bundling gems in vendor/plugins doesn't make the application easier to maintain.
I'm sorry you feel that way. I've spoken to numerous people on IRC and in real life and every one of them agreed that it would be a great feature for the core. Lowering the barrier to entry for new users makes the system as a whole easier to get started with.
> That's exactly the kind of thing that I'd like to see implemented as a plugin. Eric, you made a great job on plugins, why didn't you give it a try ? Having a plugable authentication would be a much better solution.
Frankly, the authentication code is all over the place and it wouldn't be possible to have a pluggable authentication without replacing a ton of core code (thus the risk of large breaking bugs). While putting OpenID in, I managed to clean up some of the code but it's still pretty messy in there. I'd be happy to pull OpenID out to a plugin *once* the core can support it as a plugin. I'd propose we revisit pulling OpenID (and other features you've mentioned) out to plugins once the core has a stronger API to support them.
Kevin Menard wrote:
> That's not to say that it couldn't work as a plugin, but I don't want to have to spend an inordinate amount of time to make the system usable. I also suspect this would get used more than the LDAP integration would by the general populace.
I've seen the same, OpenID is used more often in the public than LDAP (but LDAP is used more often on private intranets).
--------------------------------------------------------------------------------
Closing as fixed. This requires database changes so it's 0.9 only and doesn't need to be merged into 0.8.x.
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
related_issues
relates,Closed,1237,Add support for two-factor authentication
relates,Closed,35755,Drop OpenID support
Admin Redmine さんが約4年前に更新
- カテゴリ を Accounts / authentication_7 にセット
- 対象バージョン を 0.9.0_6 にセット