This is not a tutorial, but code is available to peruse. Using a $.get,
the response is a userid and session. Peel those off and
save in localStorage.
Uses child browser and an openID client helper to guide the user
to google or yahoo openid server. Successful login via openid
authentication results in the above get success return values.