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

Tushar Shinde commented on OPENMEETINGS-1847:
---------------------------------------------

Hello Maxim Solodovnik,

We have to integrate OM with our application.

Use Case:

 Whenever a user get registered in our application we have to create a similar 
user in OM. And the user in our application will communicate with each other 
using OM communicate features such as Video, Audio, Chat, etc.

 

{color:#14892c}Now problem #1:{color}

We are able to register a user in OM with API and the user is created with type 
"external" but when we try to enter a room with the steps given in the example 
below:

 
[http://openmeetings.apache.org/RestAPISample.html#_toc_how_to_get_room_hash_via_rest]

we are unable to login it's returning bad credentials.

 

The example given explains that we need to login first with user credentials it 
will return the "sid" which will be used further for creating hash invitation

*But login itself has problems*

 

{color:#14892c}problem #2:{color}

{color:#14892c}And also we have noticed that we need User details(such as First 
name, Last name, external id, external type, etc( for creating hash invitation 
so how we can get this as first call i.e. user login return only "sid" and it's 
not enough to retrieve user details{color}

{color:#14892c}please clarify on on this also.{color}

 

{color:#14892c}If any further information needed, please let us know.{color}

 

> 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