Closed (works as designed)
Project:
CAS
Version:
6.x-3.x-dev
Component:
Code
Priority:
Major
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
27 Jul 2010 at 06:02 UTC
Updated:
4 Jan 2011 at 22:03 UTC
Hi,
I just want to know if a user is not logged in, how can I auto redirect to the CAS server.(without showing the drupal login page).
will this setup allows admin to login saperately..? how can we do this..?
Comments
Comment #1
metzlerd commentedLook at the redirection settings. Require login for specific pages should do what you're asking.
Comment #2
madhusudan commentedIn redirection settings i added ' * ' in Require login for specific pages, this works, but drupal logout will not work. if we click logout it stays in same page. i have to close browser or clear cache.. and even though admin not able to login, it always redirect to CAS server..
well,
i found alternate method, by editing client.php in PHP CAS module, which alows admin also to login.
by commenting the following
if the gateway=true is appended to the end of the link, then it will come back to drupal site. i commented the above and now its directly going to CAS server.
:-)
Comment #3
metzlerd commentedUnneccesary. I didn't understand quite what you were trying to do. You could've got the same page by "check for existing login" in the cas settings page .
Also note that you can enable the cas Login menu as well.
Comment #4
bfroehle commentedI think this issue was resolved by the comments in #1. If not, feel free to reopen.