2

Simple login form using existing Google or Yahoo account

I spent all of this morning write a demostration ColdFusion page for integrating with RPX API to allow users to use their existing Google or Yahoo accounts to sign in to my website. By using this API, I could get basic user information such as their names and gender. Actually, I only could get their names through their Google accounts, in addition to their gender if they signed in through their Yahoo accounts. I could get more of user information if I upgrade my RPX account. The ColdFusion page is a basic demo that shows a login link to the RPX login AJAX popup. Once the user logged in, he/she will see their names as well as some related information of their provider. In addition to Google and Yahoo, there is also an OpenID login option. Unfortunately, I cannot test OpenID because I don’t know how to implement my own OpenID since Google is also use OpenID implementation.

You can view the demostration page at the following URL:

http://160.253.0.40/Students/Students/0111/OpenIDapi.cfm

Here is the download URL for the source code of this page:

http://ca288-final-spring-2010-mc.googlecode.com/files/OpenIDapi.cfm