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

@@ -160,6 +160,10 @@
const tokenEndpoint = baseUrl + "/token";
const code = new URLSearchParams(window.location.search).get('code');
if (!code) {
window.location = "/flow/expired";
}
function fillRequestExample() {
const requestExample =
"grant_type=authorization_code" + "\n"