This topic contains 1 voice and has 0 replies.
January 19, 2018 at 12:29 pm #20613raj7Participant
Hi guys :) I’m a newbie with this product and I’m having a problem that I can’t resolve.
I installed opendj 3, openam 13 and apache web agent 4.
I installed everything on a single virtual machine for testing purposes. In the hosts file I set an address for each one as suggested by the guide: opendj.example.com, openam.example.com and agent.example.com.
I created a proxypass and proxypassreverse on apache that redirects me to a protected page. After doing this I created a rule on the agent with a group and a user to protect this resource.
Now to see the resource I have to authenticate. Once authenticated, the protected resource is shown to me.
Now I would like to change the openam login page url keeping the apache url. For the time being, the apache url is kept only after authentication.
I wrote http://agent.example.com/protect –> I’m redirected to http://openam.example.com:8080/openam/XUI/#login/&goto=http%3A%2F%2Fagent.example.com % 3A80% 2Fprotect . After the authentication –> I arrived to the protected page with the URL http://agent.example.com/protect.
How should I proceed to mask the openam url? Or always keeping the url http://agent.example.com/protect?
As a test I tried to:
insert http://agent.example.com/Login as a new login url in the agent and put It in the bottom
in the not enforce rule I entered http://agent.example.com/Login
In apache I add a proxy pass like this: proxypass ^ / protect http://openam.nttdata.com:8080/wam/UI/Login and the same for proxypassreverse.
The problem is that when I get redirected to login the browser shows me as url: http://agent.example.com/openam/XUI/#login/&goto=http%3A%2F%2Fagent.example.com%3A80%2Fopenam% 2FXUI% 2F and says:
This page does not redirect correctly
Firefox has detected that the server is redirecting the request for this page so that it can never be completed.
This problem is often caused by blocking or refusing cookies.
Does anyone have a suggestion on what should I change? Do I need to make further changes to the agent configuration?
Thanks a lot to anyone for the help :)
You must be logged in to reply to this topic.