After cas single-point logout, it will jump to its own logout interface by default (for cas-server deployment see: cas5.3: CAS Server setup ), business needs often need to jump to a custom page, the specific implementation is as follows:
- Add in the application.properties file
#退出后转发到对应的service
cas.logout.followServiceRedirects=true
- Then add ?service=redirected address to the exit address
For example: http://127.0.0.1:8443/cas/logout?service=http://www.baidu.com