Hi Romain,
Please always send such questions to this mailing list:
Hi Romain,
Please always send such questions to this mailing list:
Hi Romain,
If you are installing the app in the same tomcat as DHIS2, the simplest is to not authenticate from your app code. The current user’s authenticated session will work just fine.
If you are using a different appserver (like Apache2 or nginx) to host your apps, this is slightly more complicated.
You will have to use a CORS-enabled browser (most modern browsers) and configure your app’s AJAX (jquery uses the withCredentials
:true) to use cookies and credentials
Regards,
Saptarshi PURKAYASTHA
My Tech Blog: http://sunnytalkstech.blogspot.com
You Live by CHOICE, Not by CHANCE
On 17 August 2013 20:49, Knut Staring knutst@gmail.com wrote:
Hi Romain,
Please always send such questions to this mailing list:
Knut Staring
Dept. of Informatics, University of Oslo
+4791880522
https://answers.launchpad.net/dhis2/+question/234126
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help : https://help.launchpad.net/ListHelp