Uploaded image for project: 'Openmeetings'
  1. Openmeetings
  2. OPENMEETINGS-1847

Adding user through UserWebService API but cant login with API

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Information Provided
    • Affects Version/s: 4.0.1
    • Fix Version/s: None
    • Component/s: SOAP/REST API
    • Labels:
      None

      Description

      i can Add user with following URL

      URL: /user?sid="+sid

      inputs : 1. userData, 2.confirm 3.sid

      userData =  {'firstname':firstname,'lastname':lastname,'login':login,'password':password,'address':address,'rights':rights,'externalId':externalId,'externalType':externalType}

       

      var firstname = document.getElementById("firstname").value;
      var lastname = document.getElementById("lastname").value;
      var login = document.getElementById("login").value;
      var password = document.getElementById("password").value;
      var email = document.getElementById("email").value;
      var externalId = firstname+"1";
      var externalType = firstname+"t1";

      var address = {'email': email,'deleted': false};
      var rights = ['Room','Soap','Login','Admin'];

       

       

      through this API user will be added.

      But can't LOGIN it will give error "Bad-credential"

      but login and password will be right.

      i checked into database type="external", externalid and externaltype will be set.

      So is there any other setting to login external user.?

      or How to login external user?

       

       

        Attachments

          Activity

            People

            • Assignee:
              solomax Maxim Solodovnik
              Reporter:
              Shinde Tushar Shinde
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: