Ticket #1830 (closed enhancement: fixed)

Opened 2 years ago

Last modified 2 years ago

OpenID disablable

Reported by: dread Owned by: dread
Priority: major Milestone: ckan-sprint-2012-03-05
Component: ckan Keywords:
Cc: thejimmyg Repository: ckan
Theme: none

Description

Allow OpenID to be disabled as a login option.

Currently (CKAN 1.6) there is a config option openid_enabled which stops the login option being displayed, but:

  • In the User edit form you can still add your OpenID
  • The repoze.who.openid middleware is still required - can it be avoided?

Change History

comment:1 Changed 2 years ago by dread

  • Status changed from new to closed
  • Resolution set to fixed

Now if you set openid_enabled to false, you are not given the option in user settings to associate your account with openid. Cset: [master b295bde]

I looked at removing the openid middleware, but we use it for logging out users, whether they logged in or not - it looks like friendly form plugin is not as good as the openid one in this respect! We could hack the logout function into the friendly form to sort this out, but not sure the effort is worth it at the moment.

Note: See TracTickets for help on using tickets.