Tear out OpenId Provider code, and implement simple Developer/Test OpenId Provider

Bug #629167 reported by Gary Poster
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Launchpad itself
Fix Released
Low
Unassigned

Bug Description

The OpenId Provider we currently use for development and testsuite environments is needlessly complex, from when Launchpad was itself an OpenId Provider. We should tear out all of this code, implementing a minimal OpenId Provider. The login screen can just be a single form containing:

 * a drop down list of the email addresses in the EmailAddress table.
 * a text box to use an email address not in the EmailAddress table.
 * a text box to override the OpenId Identity to use.
 * a login button.
 * a fail to login button.

Doing this, we remove a load of code. It allows us to drop the AccountPassword and numerous legacy OpenId tables. It allows us to refactor the Account/EmailAddress/Person/OpenIdIdentifier parts of the data model.

This is step 2 of https://dev.launchpad.net/LEP/OpenIdRoadmap, but also tech debt it its own right.

Gary Poster (gary)
tags: added: tech-debt
tags: added: openid
Revision history for this message
Gary Poster (gary) wrote :

Fixing this will hopefully fix bug 646563 on the way.

Revision history for this message
William Grant (wgrant) wrote :

This is pretty much done. There's about 400 lines of provider left, although it's more minimal than the description asks for.

Changed in launchpad:
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.