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")
def callback(): startup.getUserToken(request.args['code']) return redirect(url_for('main'))
def callback(): startup.getUserToken(request.args['code']) return "hi"
def test(): startup.getUserToken(request.args['code'])
def handleCallback(): startup.getUserToken(request.args['code']) return redirect("http://localhost:5001/select-playlist")
def callback(): startup.getUserToken(request.args['code']) return render_template('index.html')