I'm thinking of adding OpenID support to BZ

Rob Lanphier robla at robla.net
Mon Jun 27 19:56:44 UTC 2005


Thanks for the pointers.  I'll give it a shot.

Rob

On Mon, 2005-06-27 at 15:14 -0300, Christian Robottom Reis wrote:
> On Mon, Jun 27, 2005 at 02:47:41AM -0700, Rob Lanphier wrote:
> > I'm thinking of writing an OpenID (http://openid.net) auth plugin for
> > BZ, but I should first put a big disclaimer on it.  I'm neither an
> > expert on BZ or OpenID development, and my Perl is rusty.
> 
> This isn't likely to be a problem -- my first line of Perl was a patch
> to Bugzilla, many years ago. Be sure to base yourself off CVS HEAD.
> 
> > *  I'm thinking of using Auth/Login/CGI as a starting point, leveraging
> > Auth/Login/CGI/Cookie as close to "as is" as possible.
> 
> Yeah, Cookie shouldn't need to be touched, hopefully. Look at the LDAP
> and environment auth code for examples of how auth systems work.
> 
> > *  I'm not sure how to approach IDs.  A URI is a valid identifier, and
> > can take different forms.  For example, my LiveJournal ID can be
> > "robla.livejournal.com" or "livejournal.com/users/robla" or
> > "http://livejournal.com/users/robla".   Note that none of these are
> > "robla at livejournal.com".  So, I'm wondering how best to approach this:
> > 
> > b.  Still require a mailing address, but auth against the OpenID server,
> > and store the OpenID information in a new field in the database
> 
> This is probably the most workable solution; Bugzilla assumes an email
> address is the login in a number of places, and while that is
> suboptimal, we want this done before Christmas 2009. I'm not entirely
> sure what the content this other field would be -- but I'm unfamiliar
> with OpenID and that might explain why. At any rate I understand why
> it's important. I just think that one of the existing auth mechanisms
> has a similar problem, but maybe not.
> 
> Take care,
> --
> Christian Robottom Reis | http://async.com.br/~kiko/ | [+55 16] 3376 0125
> -
> To view or change your list settings, click here:
> <http://bugzilla.org/cgi-bin/mj_wwwusr?user=robla@robla.net>




More information about the developers mailing list