authentication {
// challenge (pre configured auth) all sub routes and by challenging it somehow gets redirected to the login page
// I don't have access to the application call in the auth pipeline to redirect
route("account"){
}
route("admin"){
}
}
d
Deactivated User
03/20/2018, 7:45 PM
Exactly this is going to be supported soon, when the auth-dsl branch is merged. Hopefully it will be available in the next version.
For now your best bet is to extract the authentication code to a function and call it for each route