Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
+1 vote
361 views
in Q2A Core by
edited by

I successfully implemented single sign on with CodeIgniter. Now, when users login using QA it redirects them to the main site login page. How do I redirect them back to where they came from?

I don't how to setup the $redirect_back_to_url inside qa-external-users.php. Is there somewhere else that the variable needs to be assigned?

When I do this :

'login' => $relative_url_prefix.'../ucp/login?redirect='.urlencode('http://mysite.com/qa/'.$redirect_back_to_url),

at my login page I could see all that URL, but it doesn't redirect.

Please log in or register to answer this question.

...