Example #1
0
def spot_authorization():
    global spot_client_id
    global spot_client_secret
    spot_client_secret = startup.getUserToken(request.args['code'])
    spot_client_id = startup.getId(spot_client_secret)
    # print(request)
    return render_template("index.html")
Example #2
0
def callback():
    startup.getUserToken(request.args['code'])
    return redirect(url_for('main'))
def callback():
    startup.getUserToken(request.args['code'])
    return "hi"
Example #4
0
def test():
    startup.getUserToken(request.args['code'])
Example #5
0
def handleCallback():
    startup.getUserToken(request.args['code'])

    return redirect("http://localhost:5001/select-playlist")
Example #6
0
def callback():
    startup.getUserToken(request.args['code'])
    return render_template('index.html')