March 26, 2018 at 1:06 pm #21312
I have installed openam 13.0.0 and disabled the XUI. When we post login url with encoded values, it is redirecting to http:://ip:8080/openam/openam/console and exited with HTTP 404 error status.
I have changed the default URI in config/xml/amAuth.xml to ‘/console’ from ‘openam/console’. It worked only once and then it was failing even with changed URI config.
what config should I change to redirect properly ?
VenkatMarch 26, 2018 at 6:00 pm #21318Scott HegerParticipant
The “Default Success Login URL” is a configuration option within OpenAM. You can define this at the realm level by logging into your AM console, select your realm, click Authentication->Settings->Post Authentication Processing. You’ll find the setting there.
You can also define this at the authentication chain level by logging into your AM console, select your realm, click Authentication->Chains->yourChain->Settings. You’ll find Successful and Failed Login URL settings there.
Finally you can add a goto parameter to your login URL. The value of the goto parameter should be a urlencoded string of the URL you would like the user redirected to after successful authentication.March 28, 2018 at 5:04 pm #21335
Thanks for reply. It is perfectly working when I do from browser. The same is not working in script, even after the change- it is trying to redirect to /openam/openam/console.
VenkatApril 9, 2018 at 9:19 am #21424
when I tried to login using script with saml request with encoded values. It is navigating to /openam/openam/console.
Tried modifying/overriding the default successful login – still same problem occurs.(using httplib2 post in script). It is working properly if we login from browser.
Let me know if you need any other info.
- This reply was modified 4 years, 4 months ago by vekoduru.
You must be logged in to reply to this topic.