@app.route('/oauth_callback')
def oauth_callback():

    access_token, uid, extras = get_flow().finish(request.args)
 
    # Extract and store the access token for this user
    redis_client.hset('tokens', uid, access_token)

    process_user(uid)

    return redirect(url_for('done'))
Callback function for when the user returns from OAuth.
dataset/ETHPy150Open dropbox/mdwebhook/app.py/oauth_callback