title: Django + Google Federated Login
body: <p>I would like to enable the visitors of my website to login using their Google Accounts instead of having to sign up and create a new one.</p>
  
  <p>A few things:</p>
  
  <ul>
  <li>I am NOT using the Django authentication framework, instead, I do my own authentication and keep information about users in my own set of tables</li>
  <li>consequently, various django-openid libs are not applicable since they all assume that the standard Django auth framework is used.</li>
  </ul>
  
  <p>I tried to study the python-openid library + the google federated login API but I am lost. I get as close as to understand the instantiating the Consumer class but do not understand the session and store params required. I cannot fathom something that seems so easy can be so complicated. Is there really no step by step tutorial of how to do this in pure python or django?</p>
  
  <p>I tried to look at the examples/consumer.py within the python-openid but it's 500lines of code again that I do not understand.</p>
  
  <p>I also don't understand how verification of the user against google accounts is done on every request to my website. Google API only explains initial login steps. What happens on every request to my website where authentication must be verified against a google server?</p>