From 09cf3d6e937154672b0a008a2bad8346d9387f81 Mon Sep 17 00:00:00 2001 From: arzumify Date: Thu, 28 Mar 2024 18:22:57 +0000 Subject: [PATCH] Main.html is untested, as i think you see... --- templates/main.html | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/templates/main.html b/templates/main.html index e9ff15b..57591b0 100644 --- a/templates/main.html +++ b/templates/main.html @@ -41,8 +41,7 @@ body: JSON.stringify(data) }) .then(response => { - console.log(response); - window.location.replace(redirect_uri + "?code=" + response + "&state=" + state) + window.location.replace(redirect_uri + "?code=" + response.text() + "&state=" + state) }) .catch(error => { alert("Error sending data: " + error.message);