Does the user always get redirected to favorites, or only if they click on the “login” link at the top of the page.

 

The CAS authentication module is not a standard part of VuFind, so I’m not sure how it impacts login behavior.

 

The standard behavior is that logging in through the “login” link at the top always sends the user to the default logged in module (which is usually Favorites unless configured otherwise in config.ini).  If you perform an action that requires a login, however (like adding a tag or storing a favorite), you shouldn’t get redirected away after logging in.

 

So if you need the login at the top of the page to redirect back, that’s a new VuFind feature that needs to be added.  If you are having problems with getting redirected while in the middle of operations like tagging or saving, that is probably a CAS-related bug.

 

Unfortunately, the code in VuFind 1.x that handles redirection is hideously convoluted – getting rid of it was one of my motivations for tackling the VuFind 2.0 project.  If upgrading to 2.0 is on your agenda, it might be best to deal with this issue as part of the upgrade process.  On the other hand, if your instance of 1.3 is going to be in play for a long time, we can discuss this further and hopefully brainstorm a workaround.  I have some ideas that I can share once I know the exact extent of your problem.

 

(On the subject of 2.0, there is not yet a CAS implementation for the new version…  but if you plan on upgrading, I would be happy to work with you on getting things working so we can have CAS support in the official distributions rather than simply as a JIRA patch).

 

- Demian

 

From: Thomas Misilo [mailto:misilot@fit.edu]
Sent: Wednesday, October 10, 2012 8:53 AM
To: vufind-general@lists.sourceforge.net
Subject: [VuFind-General] After logging in redirect to previous page

 

Hi,

 

I was wondering if anyone has found a way to have it login to the page the user was currently on? As when I try logging in from different spots it always redirects me to the favorites page.

 

I am using CAS for authentication, Symphony 3.3.1 and Vufind 1.3

 

Thanks for any help or ideas!

 

Tom