def login(): return oauth_provider.authorize(callback=url_for('.callback'))
def login(): log_event(request) return oauth_provider.authorize(callback=url_for('.callback'))
def login(): return oauth_provider.authorize( callback=url_for('.callback'), state = request.referrer, )