Archive

Archive for October 18th, 2010

A Simple OpenID Login Example on Appengine

October 18th, 2010

I wrote a simple openid login example.

I used user api to do the real login.
Login Buttons

Here is source code.

The idea is very simple. Instead of redirecting main page, I use javascript to popup a small page. Most providers have webpage optimized for popup. Then this page will detect callback and refresh main page and close itself. A hidden iframe will also try previous login url if available.

Bookmark and Share  
 

Yejun Web , , , ,