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.
- 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
The Desktop Connector connects to MindTouch through internet explorer, so if you are able to login through that then it should work. You shouldn't have to pass a domain through the username in the Desktop Connector. There may be a conflict though with the Single Sign on. Do you have a computer that isn't a part of the domain that you can test to see if you can connect to MindTouch using the Desktop Connector?
Originally Posted by coreyg
i'll try that. right now however the desktop connector part is just an interesting side tidbit of info to give some context. My real pain is not being able to use the API against pages that have permission restrictions because i am getting unauthorized.