Anonymous user login not redirected

3578489, modified 15 Years ago. New Member Posts: 5 Join Date: 7/15/09 Recent Posts
I have the following set in my portal properties:

auth.login.community.url =	 /login
auth.login.url =	/web/guest/login 

when an anonymous user tries to access a page that requires authentication (in my case: /web/guest/secure) the user is still redirected to web/guest/home
3578489, modified 15 Years ago. New Member Posts: 5 Join Date: 7/15/09 Recent Posts
Got this working, but now if I set


default.landing.page.path=/web/guest/home


My redirect after login for anonymous users goes to /web/guest/home instead of the last page that needed authentication. (For example they try to access /web/guest/secure, asked to login, and then redirected to /web/guest/home instead of /web/guest/secure)
3578489, modified 15 Years ago. New Member Posts: 5 Join Date: 7/15/09 Recent Posts
Interesting. I notice the url query string for redirect has an additional name ("_58_") at an anonymous login:

...&_58_struts_action=%2Flogin%2Flogin&_58__58_redirect=%2Fweb%2Fguest%2Fsecure

if I change it to:

...&_58_struts_action=%2Flogin%2Flogin&_58_redirect=%2Fweb%2Fguest%2Fsecure

it works.

Anyone know what's going on?