Main.html is untested, as i think you see...
This commit is contained in:
parent
1d56aafe27
commit
09cf3d6e93
|
@ -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);
|
||||
|
|
Reference in New Issue