@app.route('/')
def index():
    if 'google_token' in session:
        me = google.get('userinfo')
        return jsonify({"data": me.data})
    return redirect(url_for('login'))
dataset/ETHPy150Open lepture/flask-oauthlib/example/google.py/index/original