OTAG and Livelink Users

Options

Hi,

I have created a new user in the OTAG admin interface (admin user) and can login to the gateway just fine. However, it fails from the app!

I get this in the logs:

INFO: ,2014/04/02 08:16:17 BST,9009227951327819450,3736474410320633806,Push Layer Directory Plugin,Success Provenance,3,Object Modify,,,"entryDN=cn=pmaker,ou=root,ou=otag,ou=identityproviders,dc=identity,dc=opentext,dc=net; ldapObjectClass=oTPerson; objectClass=oTPerson"
Apr 02, 2014 8:16:17 AM com.opentext.otds.client.WebServiceOtdsCallerV2 checkWebServiceV2Response
SEVERE: INVALID_CREDENTIALS
Apr 02, 2014 8:16:17 AM com.opentext.otds.messagebroker.audit.AuditHandler log
WARNING: ,2014/04/02 08:16:17 BST,0,0,Authentication Service,Failure Access,28,Initial authentication failed,pmaker,,Authentication failure [INVALID_CREDENTIALS]: pmaker from host 127.0.0.1 with address 127.0.0.1 for resource 61bb7146-75d9-46fd-84b0-df37da0a0a82

Any ideas?

Comments

  • Now my otag users password has expired, however, there appears to be no way to reset it or change it!

  • Hi Paul,

    You have to login to the gateway as administrator, go to user management, search for the user and click on the settings icon:

    <img src="https://us.v-cdn.net/6030023/uploads/appworks_attachments/1129612.png can then change the user's password.

    Cheers,

    Werner

  • By the way, this is a typical routine for authentication (courtesy of Roel Gillesen, Senior Solution Consultant, OpenText Benelux):

    // login
    function login() {
        // get login details from form
        var username = document.getElementById("username").value;
        var password = document.getElementById("password").value;
        // get authentication ticket
        $.ajax({
            type : "POST",
            url : BASE_URL + '/gateway/v1/auth',
            data : {
                username : username,
                password : password,
                type : "demo"
            },
            error : function(jqxhr, status, error) {
                console.log('Error authenticating');
                $(myOutput).html("something went wrong");
                console.log('status: ' + status + ' error: ' + error);
            },
            success : function(data) {
                console.log('Success authenticating');
                $(myOutput).html("Successfully logged in" + "<br>");
                myTicket = data.otagtoken;
                $(myOutput).append("Token: " + myTicket);
            },
        });
        return myTicket;
    }
    

    BASE_URL is the URL of the AppWorks Gateway.

    Thanks,

    Werner