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

CommentFileSizeAuthor
#13 cas-454456.patch693 bytesmetzlerd

Comments

tdivito’s picture

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

metzlerd’s picture

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.

tdivito’s picture

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

tdivito’s picture

Any other information that you may need?

Thanks,

-tdivito

metzlerd’s picture

Status: Active » Reviewed & tested by the community

--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....

metzlerd’s picture

Status: Reviewed & tested by the community » Active
tdivito’s picture

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

metzlerd’s picture

Status: Active » Reviewed & tested by the community

Arg!!!! is something wrong with my browser!

metzlerd’s picture

Status: Reviewed & tested by the community » Active
metzlerd’s picture

Uh can I confirm that you're using the login destination module . I can't find a login redirect module to test with.

Dave

tdivito’s picture

Sorry for the confusion... yes, login destination.

http://drupal.org/project/login_destination

Thanks

tdivito’s picture

Were you able to reproduce the problem?

Thanks,

-tdivito

metzlerd’s picture

Version: 6.x-1.0 » master
Category: support » feature
Status: Active » Needs review
StatusFileSize
new693 bytes
metzlerd’s picture

Assigned: Unassigned » metzlerd
Status: Needs review » Fixed

Commiting to head

tdivito’s picture

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

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

  • Commit ee08c77 on 6.x-2.x, 6.x-3.x, 7.x-1.x, master, 8.x-1.x by metzlerd:
    #303370 Debugging option #454456 Support for login destination module.