Quantcast
Channel: DHIS2 Community - Latest topics
Viewing all articles
Browse latest Browse all 2255

CORS error- Custom web apps

$
0
0

Hi Team,
Need your assistance on this.
We have three custom apps in our instance which is working fine. But in local we are getting CORS error. The localhost port 3000 has been added properly in DHIS. We are able to build the apps but not able to run it in local.

After analysing we figured out the login endpoint is failing.
The login endpoint being hit is
https://instanceURL/dhis-web-commons-security/login.action
But seems like the correct endpoint should be
https://instanceURL/dhis-web-commons/security/login.action#/

Any idea if this or anything else could lead to CORS error?

Thanks

5 posts - 3 participants

Read full topic


Viewing all articles
Browse latest Browse all 2255

Trending Articles