diff --git a/templates/main.html b/templates/main.html
index b580c85..a4d2d17 100644
--- a/templates/main.html
+++ b/templates/main.html
@@ -25,6 +25,8 @@
var response_type = urlParams.get('response_type');
} else {
window.location.replace("/dashboard");
+ document.body.innerHTML = "Redirecting..."
+ throw new Error();
}
if (urlParams.has('state')) {