diff --git a/templates/main.html b/templates/main.html index 3e99171..1721ec4 100644 --- a/templates/main.html +++ b/templates/main.html @@ -51,7 +51,7 @@ document.cookie = "key=" + secret_key "; expires=" + expires + "; path=/"; // Send data to example.org using POST request - window.location.replace("/api/auth?client_id=" + client_id + "&redirect_uri=" + redirect_uri + "&code_challenge_method=" + codemethod + "&code_challenge=" + code + "&state=" state) + window.location.replace("/api/auth?client_id=" + client_id + "&redirect_uri=" + redirect_uri + "&code_challenge_method=" + codemethod + "&code_challenge=" + code + "&state=" + state) } oauth()