25 Jul, 2007

Published at 04:30AM

Tagged with development, golftrac, and openid

This post has 0 comments

Golf Trac will support OpenID

The other night, I added OpenID support for Golf Trac. I’ve been using it (OpenID) more and more lately and I’m starting to really like it. It’s so easy. Since not everyone uses it (yet), I’ve implemented username/password registration, as well. Going from username/password to OpenID, or vice versa, is no problem. The accounts can be easily merged as long as the email that is registered is the same email associated with the OpenID account.

Technically speaking, managing both login types for the same account didn’t go quite as smoothly as planned. I didn’t want to create a second username/password registration process just because a user had an OpenID, so it was somewhat involved to come up with a work-around. I had a few issues bypassing certain validations, but all is well now. And besides, it’s only a little awkward in the rare case (going from OpenID to username/password). The typical case (going from username/password to OpenID) is completely seamless. If a user already has a username/password, signing in with OpenID will then tell Golf Trac to merge with the existing account.

If you think managing multiple logins is a pain, you really should look into OpenID.

Comments

Do you have something to say about this post?
Retype the image to the right Spam Hint: Are You Human? Textile Formatting Tips

or

Ryan Heath | Site Management A Ruby on Rails production.

This site is a Formed Function. Formed Function LLC | @formedfunction | Get in Touch