Custom App For Report (Tracker)

Dear Experts,

I hope that you are fine and healthy, I have developed a custom application used Javascript , Bootstrap , JQuery & Html for Reports. I used a saperate username and password for that when I give access to this app then login from another user. it is showing the app but I have a credential problem. when select back button comes dhis2 dashboard it is loged the username which I used in Custom App.

Thank you
Mohammad Ayub Yousafzai
kabul , Afghanistan

Hi @mohammadayub864

What version of DHIS2 are you testing your app in?

If I understand correctly, here’s the scenario:

  1. login using Admin account

  2. Install the app (CustomApp) and give another user (testUsername) access to the app

  3. Logout of the Admin account

  4. Login using testUsername account

  5. Open the CustomApp

  6. Click the return/back button on the browser

  7. user is no longer testUsername the user now is the Admin account?

Is this what’s happening? Are you able to reproduce this issue in any of the instances?


It is latest version of DHIS2 and You are 100% right , What is the solution?