in kotlin/auth-code-flow-pkce/src/main/kotlin/com/example/Application.kt [88:103]
suspend fun respondAuthError() {
call.respondHtml(HttpStatusCode.Unauthorized) {
head {
title("Authentication error")
}
body {
p {
+"Authentication error."
}
button {
onClick = "window.location.href = '$authorizeInSpaceRoute'"
+"Try again"
}
}
}
}