Thanks for answering. Here are the parameters I am testing and still no go:

SID=43fe771eadad5d99921291c65642b8bf&username=dchakarov&firstname=test&lastname=test&profilePictureUrl=url
&email=dchakarov&externalUserId=1&externalUserType=admin&room_id=33&becomeModeratorAsInt=1&showAudioVideoTestAsInt=0


On 10/17/2013 06:53 AM, Maxim Solodovnik wrote:

Hello Dimitar,

According to the doc: http://openmeetings.apache.org/UserService.html#setUserObjectAndGenerateRoomHash

you need to specify these parameters (without exclusions): / String SID , String username , String firstname , String lastname , String profilePictureUrl , String email , String externalUserId , String externalUserType , Long room_id , int becomeModeratorAsInt , int showAudioVideoTestAsInt/


On Oct 17, 2013 5:18 AM, "Dimitar Chakarov" <[email protected] <mailto:[email protected]>> wrote:

    Hi,

    I'm having trouble integrating OpenMeetings (3.0.0-SNAPSHOT
    r1517701) into my php website. More specifically, I can't make it
    so it won't ask for user/pass when entering a room using
    secureHash. I am using the REST API, the server is up an running
    and here is what I do:
    1) UserService - getSession --> $sessionId
    2) UserService - loginUser (with username, password & session id)
    3) RoomService - addRoomWithModeration (name, type, participants,
    public, moderated) --> $roomId
    4) UserService - setUserObjectAndGenerateRoomHash (username,
    email, roomId, moderator) --> $hash
    5) $url = baseURL . "?secureHash=" . $hash .
    "&scopeRoomId=$roomId&userId=1";

    The url is something like:
    
http://on-ed.dchakarov.com:5080/openmeetings?secureHash=23c71cbb73ed9df7af95b07e34a2696e&scopeRoomId=29&userId=1
    but when I open it, it asks for user and password. Can you help me?

    Regards,
    Dimitar


Reply via email to