You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openmeetings.apache.org by "Maxim Solodovnik (JIRA)" <ji...@apache.org> on 2018/03/09 11:35:00 UTC

[jira] [Commented] (OPENMEETINGS-1847) Adding user through UserWebService API but cant login with API

    [ https://issues.apache.org/jira/browse/OPENMEETINGS-1847?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16392744#comment-16392744 ] 

Maxim Solodovnik commented on OPENMEETINGS-1847:
------------------------------------------------

External users not able to use UI

They can use room only via secure hash

What is your use-case?

> 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)