CAS and Login Redirect
tdivito - May 5, 2009 - 18:19
| Project: | CAS |
| Version: | HEAD |
| Component: | Code |
| Category: | feature request |
| Priority: | normal |
| Assigned: | metzlerd |
| Status: | closed |
Description
I am trying to use CAS with the Login Redirect module and it doesn't seem to work. Is there some way I can tweek the module so that it will work? I am trying to change the redirect url after login based on the role of the newly authenticated user. Any help would be appreciated.
Thanks,
tdivito

#1
Sorry to be a bug about this, but can someone help me? I don't understand why CAS takes over, no matter what I do.
Thanks for helping me with this,
-tdivito
#2
Can try. Could you post more specifics about the current situtation. What are your cas redirection settings? This may be related to a bug that some are expriencing with CAS after ticket validation. I'm no expert on the login redirect butg I'll try.
#3
I turned off both the redirection settings after login and logout and I am still getting sent back to the homepage.
I tried with the settings on as well, and there was no change.
Thanks
-tdivito
#4
Any other information that you may need?
Thanks,
-tdivito
#5
--snip---
Woops wong issue. Mena to say that I tested this on current HEAD and am not experiencing the problem. I'll also check the release, but I haven't been in that code in a while. Be back....
#6
#7
Thanks for getting back to me.
I do not use persistent login on my site anyway.
I did notice today that if the user is on the home page, the cas module will send them back to the home page, but if I try to login from another page, login_redirect works correctly. Does that make any sense?
Thanks
-tdivito
#8
Arg!!!! is something wrong with my browser!
#9
#10
Uh can I confirm that you're using the login destination module . I can't find a login redirect module to test with.
Dave
#11
Sorry for the confusion... yes, login destination.
http://drupal.org/project/login_destination
Thanks
#12
Were you able to reproduce the problem?
Thanks,
-tdivito
#13
#14
Commiting to head
#15
I have found that the patch has fixed the links if I click a CAS login link from an HTTPS address, however, if I am at an http page when I click the login link, I still get transferred back to the home page and not forwarded as expected.
When I patched the file, I made sure to use the latest code from the website.
I fixed this by installing the module secure pages and set it to make /drupal/cas always HTTPS
Any thoughts on a solution so I can get rid of Secure Pages?
Thanks for all of your help!
tdivito
#16
Automatically closed -- issue fixed for 2 weeks with no activity.