Re: [Dhis2-devs] Web api authorization not working

2018-02-07 Thread Lars Helge Ă˜verland
Hi Terence, have a look at the CORS concept: https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS You can whitelist the URL/domain of your app from Apps > Settings > Access > CORS whitelist. regards, Lars On 8 February 2018 at 09:15, Morten Olav Hansen wrote: > Did you whitelist your dom

Re: [Dhis2-devs] Web api authorization not working

2018-02-07 Thread Morten Olav Hansen
Did you whitelist your domain in CORS settings? -- Morten Olav Hansen Senior Engineer, DHIS 2 University of Oslo http://www.dhis2.org On Thu, Feb 8, 2018 at 2:37 AM, Knut Staring wrote: > Forwarding to the dev list. > > On Feb 7, 2018 8:31 PM, "Terence Kaite" wrote: > >> Hello there, >> >> I'

Re: [Dhis2-devs] Web api authorization not working

2018-02-07 Thread Knut Staring
Forwarding to the dev list. On Feb 7, 2018 8:31 PM, "Terence Kaite" wrote: > Hello there, > > I've been trying to build an external web app that should be making use of > dhis 2 data through the its' web api endpoints. But when I try to access > dhis web apis - even after including credentials f