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)
|
body: JSON.stringify(data)
|
||||||
})
|
})
|
||||||
.then(response => {
|
.then(response => {
|
||||||
console.log(response);
|
window.location.replace(redirect_uri + "?code=" + response.text() + "&state=" + state)
|
||||||
window.location.replace(redirect_uri + "?code=" + response + "&state=" + state)
|
|
||||||
})
|
})
|
||||||
.catch(error => {
|
.catch(error => {
|
||||||
alert("Error sending data: " + error.message);
|
alert("Error sending data: " + error.message);
|
||||||
|
|
Reference in New Issue