[ 
https://issues.apache.org/jira/browse/OPENMEETINGS-1847?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Maxim Solodovnik resolved OPENMEETINGS-1847.
--------------------------------------------
    Resolution: Information Provided

Not sure, maybe example is not clear enough

you can use search via mailing list as this case was discussed 100 times (this 
is why I insist to ask questions on mailing lists)

But

1) you need to login using special user with SOAP privileges (create it via UI 
and save user/pass inside your app)

2) generate hash

 

I believe this _DISCUSSION_ should go to @user list: 
[http://openmeetings.apache.org/mail-lists.html]

 

Please use mailing-lists to ask questions, JIRA is for issues/enhancements etc.

> Adding user through UserWebService API but cant login with API
> --------------------------------------------------------------
>
>                 Key: OPENMEETINGS-1847
>                 URL: https://issues.apache.org/jira/browse/OPENMEETINGS-1847
>             Project: Openmeetings
>          Issue Type: Bug
>          Components: SOAP/REST API
>    Affects Versions: 4.0.1
>            Reporter: Tushar Shinde
>            Assignee: Maxim Solodovnik
>            Priority: Critical
>
> 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?
>  
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to