CAS Configuration

kroeker - November 10, 2009 - 21:21

I'm having problems with displaying the CAS module's output block in my theme. I created a separate region to hold the CAS block, then moved it into that region. The 'Login' link then appeared on my Drupal site in the expected place on the page, and I can successfully log in. So far, so good. A couple of issues though:

1. After authentication from a node that was not the home page (authentication was fine), I was taken back to my home page. I kind of expected to return to my initial page? On the home page (it's just the default page at the moment, no content), the 'Login' link still appeared in the CAS block. Clicking on it made it disappear, and a message was displayed in the block stating that, 'the user was logged on', or words to that effect.

So, (1) why was I re-directed to my home page after logging on initially, and (2), why did the 'Login' prompt appear on this page even though I'd successfully logged on? After clicking the 'Login' link the 2nd time, going to any page no longer displays the 'Login' prompt.

2. The 'Login' link in the CAS block disappeared after login (perfectly OK), but there is no 'Logoff' or 'Logout' link which would allow me to log out of CAS.

3. I would like some indication of the user id that has logged in to appear in the CAS block. For example:

Login | anonymous - for unauthorized users
Logout | frog - when user 'frog' has logged in successfully

any help on these issues would be terrific, Thx

Brian
Drupal 6.13, CAS 6.x-1.0

 
 

Drupal is a registered trademark of Dries Buytaert.