I setup CAS and the authetication works well, but in the destination settings i'm unable to get the login destination setting to work, whether it be the front page or google or anything else, the user is always sent to their profile page. The logout distination works perfectly, but the login is what is more important. Any help or suggestions are greatly appreciated!
Comments
Comment #1
bfroehle commentedThe login destination is for the FIRST login only. Otherwise you'll need to ensure that you pass a destination parameter to the /cas link.
For example, if you link to http://example.com/cas?destination=node/10 the user will be redirected to http://example.com/node/10 after login. If you want to redirect back to the page the user was on when the clicked the "login" button, you can add some fancier logic --- see the "Note to Themers" in the README. Or just use the provided CAS login menu items, which are disabled by default.