• Form authentication: error 400

  • We tried to make OpenKM as intuitive as possible, but an advice is always welcome.
We tried to make OpenKM as intuitive as possible, but an advice is always welcome.
Forum rules: Please, before asking something see the documentation wiki or use the search feature of the forum. And remember we don't have a crystal ball or mental readers, so if you post about an issue tell us which OpenKM are you using and also the browser and operating system version. For more info read How to Report Bugs Effectively.
 #2471  by Joe
 
My problem concerns authentication on OpenKM using SSO forward by a Vulture reverse-proxy. My OpenKM server is behind a reverse-proxy which sends login and password to the authentication page of OpenKm (/OpenKM/j_security_check). The authentication succeeded but i am still on the authentication page. When i reload this page, i\'m now redirected to the home page of OpenKM (/OpenKM/es.git.openkm.frontend.Main/). Proves that the authentication was succeeded.

I want to go automatically to the home page when authentication succeed.

The capture done with Wireshark shows that there is a trouble: \"Etat HTTP 400 - Reference directe a la form de connexion (form login page) invalide\"

Can you help me???

Thanks a lot.

Joe
 #2484  by jllort
 
On some forum post you can see how to running jboss under proxy. I remember be seeing something about it some months ago. There\'s some extra params to connect it well. try looking for \"proxy\" on forum if it solves this.
 #2497  by Joe
 
Hi jllort,

I\'ve looked for topics dealing with proxy on forum and I\'ve found this one:
http://www.openkm.com/Configuration/216 ... error.html

In fact, author occured the same error as me:
HTTP Status 400 - Invalid direct reference to form login page
Author explains that he succeeded to solve his problem thanks to this post:
http://www.openkm.com/Installation/235- ... -v2.0.html

But I\'m not sure that this applies in my case since OKM is hosted behind a reverse-proxy (i.e: it breaks the TCP session from the client to OKM, and creates one new) and not a classical proxy. Therefore, I don\'t think I need to set up proxy details to the JBoss comamnd (-Dhttp.proxyHost=xxx -Dhttp.proxyPort=xxx in run.conf file).

I\'m using OKM 3.0 community +JBoss bundle; so how to \"unstress\" jboss with this error message?

Thanks for your help.
 #2498  by jllort
 
Really it\'s not a OpenKM issue it\'s a Jboss configuration problem. I\'ve never configured as you\'re doing, I think this question might be posted on the jboss forum in attendace login issue configuration problem ( we\'re using normal form login autentication method ).
 #2499  by Joe
 
Ok!

I\'ll ask on the jboss forum how to solve my problem. Anyway, thank you very much for your help and good luck for OKM future.

Edit:
For info: here is my post on jboss forum. I\'m still waiting for support... I hope there is a solution otherwise OpenKM can\'t be integrated to my network infrastructure :(
My post on jboss forum

About Us

OpenKM is part of the management software. A management software is a program that facilitates the accomplishment of administrative tasks. OpenKM is a document management system that allows you to manage business content and workflow in a more efficient way. Document managers guarantee data protection by establishing information security for business content.