i'm having Authentication issues when trying to work with the API but it might be bigger than just that.
We've also had problems that we haven't been able to get the desktop tools working with our instance of mindtouch.
random facts:
- We use AD authentication.
- for general site access with IE, the network credentials automatically get passed in.
- if i use another browser i can pass in username as mydomain\myuser and password as password and it works
- DESKTOP TOOLS FAIL TO AUTH NO MATTER ALL THE COMBOS OF LOGIN/PASSWORD THAT I USE
but now i'm trying to use the API, to access a page that is private but that i have permission for.
curl -u myuser:mypassword -i http://cristaweb/@api/deki/pages/226/contents
while passing in the domain with CURL fails.
This is odd. the domain is needed as part of the credential when using browsers and is NORMAL for ALL AD integrated authentication, but to get it to work with CURL i have to strip out the domain part and it works. And i can't get ANYTHING to work with PLUG.
Hopefully its just something wrong that i am doing, but to me this just seems like it has to be a mindtouch bug.
when using plug with withcredential( ) and either passing in the network credential Icredential gotten through the system passing in mydomain\myuser it fails miserable, as with using .withcredential passing in hardcoded login in password either with mydomain\myuser or just with myuser
the interesting thing that works is curl.
this line in curl works


Reply With Quote

