app/views/clientSideRedirectToLogin.scala.html (16 lines of code) (raw):
@(loginUrl: String)
<html>
<head>
<title>
Redirecting to login...
</title>
<script>
setTimeout(function() {
window.location.href = "@loginUrl";
}, 250);
</script>
</head>
<body>
<h1>Redirecting to login...</h1>
</body>
</html>