code: def login():
      
      # if we are already logged in, go back to were we came from
      if g.user is not None:
          return redirect(oid.get_next_url())
      if request.method == 'POST':
          openid = request.form.get('openid')
          if openid:
              return oid.try_login(openid, ask_for=['email', 'fullname',
                                                    'nickname'])
      return render_template('login.html', next=oid.get_next_url(),
                             error=oid.fetch_error())
docs: Does the login via OpenID.  Has to call into `oid.try_login`
      to start the OpenID machinery.