Authentication via OAuth2
UserAgent your-site.com google.com User gets session-id < LOG IN WITH GOOGLE > Redirect to google.com/o/oauth/$your_client_id < Enter Password > OK! Redirect to your-site.com/postback?code=123xyz Take the code post it to google with secret