dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #51355
Re: ADD credentials in DHIS2 url
Hi Hakim
No, that is not possible and would not be a good idea since your
credentials would be visible in the request itself.
You will need to use a basic authentication header for this as described in
the manual:
https://docs.dhis2.org/master/en/developer/html/webapi_authentication.html
Regards,
Jason
On Fri, Jun 8, 2018 at 11:19 AM DJIBRIL Hakim <djib.hakim@xxxxxxxxx> wrote:
> Hi All,
> Please I would like to know if is it possible to add authentification
> directly in URL
> Example: username:password@[dhisUrl]/api/.....
>
> Best
> _______________________________________________
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to : dhis2-devs@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help : https://help.launchpad.net/ListHelp
>
--
Jason P. Pickering
email: jason.p.pickering@xxxxxxxxx
tel:+46764147049
Follow ups
References