I have implemented spring security for login to my web portal. It works fine except for one issue. I have set session timeout to 5 min. Once timeout happpens and then user click
In Grails, this setting solves the problem in Config.groovy
Config.groovy
grails.plugin.springsecurity.successHandler.alwaysUseDefault = true