Hello,
Here is a brief summary of my settings:
phpCAS version 1.3.1
CAS Server 2.0 or higher
Unchecked "Automatically create Drupal accounts"
Checked "Check with the CAS server to see if the user is already logged in"
--------------------
Site A is Drupal
Site B is Java
If I log into Site A and I travel to Site B, it requires me to login via CAS again.
If I log into Site B and travel to Site A, it also requires me to login via CAS again.
However, if I log in through the CAS website, I can go to both websites and my session is preserved.
-----------------
Also for the Drupal site, I have set the initial login destination to community-faculty (which is a valid link) and CAS keeps on redirecting me to the user page.
Please let me know if you need any additional information
Thank you for your time.
Comments
Comment #1
bfroehle commentedThis sounds like some setting with your CAS server and not a problem with either the Drupal or Java CAS clients.
The *initial login destination* is only for the user's FIRST login.
Comment #2
bfroehle commentedYou can control where the user gets redirected after login using the 'destination' parameter. For example, if you have a regular link to "http://example.com/cas" the user will be redirected to their user page. But if you link to "http://example.com/cas?destination=node/11", they will be redirected to "http://example.com/node/11" after login.
You can read more about this in the README.
Comment #3
bfroehle commented