+ Reply to Thread
Results 1 to 3 of 3

Thread: Authentication Woes

  1. #1
    Join Date
    Oct 2009
    Posts
    88

    Default Authentication Woes

    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

  2. #2
    Join Date
    Sep 2006
    Location
    San Diego
    Posts
    439

    Default

    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?
    Corey Ganser

  3. #3
    Join Date
    Oct 2009
    Posts
    88

    Default

    Quote Originally Posted by coreyg View Post
    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?

    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.

+ Reply to Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts