Between 3.0 and 3.1, in SecureCAS you have moved from using the flash scope to store the application url when you get bounced to CAS to using the cache. However, you seem to still be using flash in filter() (line 160 and 161). This means that when you pull the variable out of cache (line 109) it isn't there and the app always redirects to "/".
If it helps, I fixed this locally (crudely) by copying:
if (!Router.route(request).action.equals("modules.cas.SecureCAS.login")) {
// we put into session the url we come from
Cache.add("url_" + session.getId(), request.method == "GET" ? request.url : "/", "10min");
}
Between 3.0 and 3.1, in SecureCAS you have moved from using the flash scope to store the application url when you get bounced to CAS to using the cache. However, you seem to still be using flash in filter() (line 160 and 161). This means that when you pull the variable out of cache (line 109) it isn't there and the app always redirects to "/".
If it helps, I fixed this locally (crudely) by copying:
into line 162.
Thanks for this module - it's incredibly helpful!