diff --git a/auth_server.py b/auth_server.py index 08ed40b..f7fff59 100755 --- a/auth_server.py +++ b/auth_server.py @@ -37,7 +37,7 @@ def launch_zwift(): if not os.path.exists(AUTOLAUNCH_FILE): return redirect(NOAUTO_EMBED, 302) else: - return redirect("http://zwift/?code=abc", 302) + return redirect("http://zwift/?code=zwift_refresh_token%s" % REFRESH_TOKEN, 302) #@app.route('/auth/realms/zwift/protocol/openid-connect/logout', methods=['GET']) diff --git a/cdn/static/web/launcher/embed-noauto.html b/cdn/static/web/launcher/embed-noauto.html index 0d1e0b3..10d9515 100644 --- a/cdn/static/web/launcher/embed-noauto.html +++ b/cdn/static/web/launcher/embed-noauto.html @@ -5,7 +5,7 @@