Feature #11357

OpenId provider selection

Added by Michael So over 5 years ago. Updated over 1 year ago.

Status:NewStart date:
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:OpenID
Target version:-
Resolution:

Description

there is an existing plugin for redmine 1.X
http://www.redmine.org/plugins/openid-selector

i tried it with redmine 2 and it didn't work. error at the login page
however, its a useful feature and probably worth integrating into the new version of redmine system

redmine-openid_dropdown-DrewDahl-11357.patch Magnifier - Patch to add drop-down to login menu (9.12 KB) Andrew Dahl, 2012-12-16 12:51

Chrome-OpenID_Dropdown.png - Initial Dropdown (13.9 KB) Andrew Dahl, 2012-12-16 12:51

Chrome-OpenID_Dropdown-2.png - Showing List (11.8 KB) Andrew Dahl, 2012-12-16 12:51

Chrome-OpenID_Dropdown-3.png - Google Selected (7.49 KB) Andrew Dahl, 2012-12-16 12:51

redmine-openid_dropdown-DrewDahl-11357-2.patch Magnifier (6.33 KB) Andrew Dahl, 2012-12-16 13:00

History

#1 Updated by Etienne Massip over 5 years ago

  • Subject changed from openid url selector for redmine 2.0 to OpenId provider selection
  • Priority changed from High to Normal

#2 Updated by Andrew Dahl almost 5 years ago

The attached patch was created against Redmine 2.1.4.stable and tested using Chrome 23, Firefox 16, IE9, Ruby 1.9.3 (x86_64-linux), and Rails 3.2.8

The patch adds a drop down menu on the log-in page with links to 11 different OpenID providers, as well as keeping the existing functionality of writing in your own.

In addition to the patch, I've attached a few screenshots.

It creates an additional table, open_id_providers, that contains the URL/Name information for the providers. Ostensibly, this could be expanded to allow administrators to add/remove providers from the list through the Admin menu.

Unrelated: In regard to the OP and his link to openid-selector... he's right, that no longer works with redmine 2.x -- I posted some very hacky changes to it here => https://github.com/DrewDahl/redmine-openid-selector (For the benefit of the OP and any future viewers of this ticket)

#3 Updated by Andrew Dahl almost 5 years ago

I realized after I posted that patch, it was a little messy as I had a file being created and removed because I had misnamed it.

I've cleaned it up a bit (attached). -- They're identical in what they do. The second one is just easier to read. :-)

#5 Updated by Evgeniy Dushistov over 1 year ago

It would be good for example restrict to only my own openid provider,
so I can have redmine, several web apps, and use openid for single login
via my own openid provider.

Also available in: Atom PDF