sakaiproject/3akai-ux — pull request #1210 by payten (2011-10-27 22:10:39+00:00)
Title: NOJIRA redirect to 'url' param when user is authenticated

Hi Chris and co,

This is in response to a bug we had at NYU where Sakai wasn't redirecting to the desired URL upon returning from the SSO service.

When unauthenticated, Sakai redirects to home_url?url=desired_url. This is the URL that the SSO service is given and thus returned to.

This patch checks for the 'url' param and user's auth status and redirects to the 'url' if authenticated.

NYU JIRA: https://jira.nyu.edu/jira/browse/ATLASNAK-36

Cheers!
Payten