Error redirect mechanism

This commit is contained in:
konarfil
2023-09-26 15:04:04 +02:00
parent 6577800ab8
commit a078bb21ff
7 changed files with 78 additions and 7 deletions

View File

@@ -175,6 +175,10 @@
const code = new URLSearchParams(window.location.search).get('code');
const codeVerifier = getCookie("code_verifier");
if (!code || !codeVerifier) {
window.location = "/flow/expired";
}
function fillRequestExample() {
const requestExample =
"grant_type=authorization_code" + "\n"