예제 #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")
예제 #2
0
def callback():
    startup.getUserToken(request.args['code'])
    return redirect(url_for('main'))
def callback():
    startup.getUserToken(request.args['code'])
    return "hi"
예제 #4
0
def test():
    startup.getUserToken(request.args['code'])
예제 #5
0
파일: app.py 프로젝트: shaham-noorani/Zunes
def handleCallback():
    startup.getUserToken(request.args['code'])

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