Hi again. This is the log of OM > > 37.98.45.61 - - [25/Sep/2020:12:34:48 +0330] "POST > /openmeetings/services/UserService HTTP/1.1" 200 295 > 37.98.45.61 - - [25/Sep/2020:12:34:49 +0330] "POST > /openmeetings/services/UserService HTTP/1.1" 200 307 > 37.98.45.61 - - [25/Sep/2020:12:35:07 +0330] "-" 400 - > 37.98.45.61 - - [25/Sep/2020:12:35:09 +0330] "GET > /openmeetings/hash?secure=70f99db9-ecdf-4a0b-916b-58d0074ba609 HTTP/1.1" > 200 7887 > 37.98.45.61 - - [25/Sep/2020:12:35:10 +0330] "GET > /openmeetings/wicket/resource/de.agilecoders.wicket.themes.markup.html.bootswatch.BootswatchCssReference/css/bootstrap.sandstone-ver-B164B91379C7277B723B262D93226799.css > HTTP/1.1" 200 90112 > 37.98.45.61 - - [25/Sep/2020:12:35:12 +0330] "GET > /openmeetings/css/theme.css HTTP/1.1" 304 - > 37.98.45.61 - - [25/Sep/2020:12:35:12 +0330] "GET > /openmeetings/css/theme_om/jquery-ui.min.css HTTP/1.1" 200 31071 > 37.98.45.61 - - [25/Sep/2020:12:35:12 +0330] "GET > /openmeetings/css/custom.css HTTP/1.1" 200 112 > 37.98.45.61 - - [25/Sep/2020:12:35:13 +0330] "GET > /openmeetings/css/images/logo.png HTTP/1.1" 304 - > 37.98.45.61 - - [25/Sep/2020:12:35:13 +0330] "GET > /openmeetings/wicket/resource/de.agilecoders.wicket.webjars.request.resource.WebjarsCssResourceReference/webjars/font-awesome/5.13.0/webfonts/fa-solid-900.woff2 > HTTP/1.1" 200 79444
On Fri, Sep 25, 2020 at 12:15 PM Maxim Solodovnik <solomax...@gmail.com> wrote: > Could you check openmeetings.log? > does it have any errors? > > On Fri, 25 Sep 2020 at 15:32, farid bekran <faridbekra...@gmail.com> > wrote: > > > > Hi guys. > > I am trying to use the GetRoomHash of service web service in order to > redirect my user to a room without forcing the user to log in manually. > > I am following this tutorial. > > The code sample I am using is as follows. (C#) > > There is an API in which I am generating hash code. > > I am redirecting to my open-meeting installation with the use of the > code. > > > >> var user = "admin"; > >> var pass = "adminpass"; > >> var openMeetingUserService = new > Openmeetings.UserWebServiceClient(); > >> var loginResult = await > openMeetingUserService.loginAsync(user, pass); > >> if (loginresu...@return.type != "SUCCESS") > >> throw new UserFriendlyException("Error in login."); > >> var sid = loginResult.@return.message; > >> > >> > >> var roomHash = await > openMeetingUserService.getRoomHashAsync(sid, new > Openmeetings.externalUserDTO > >> { > >> externalId = "id89", > >> externalType = "Tutykid", > >> firstname = "Farid", > >> lastname = "External", > >> login = "externaluser1" > >> }, new Openmeetings.roomOptionsDTO > >> { > >> allowSameURLMultipleTimes = true, > >> roomId = roomId, > >> moderator = true > >> }); > >> return new GoToRoomOutput { RoomHash = > roomHash.@return.message }; > > > > > > And the url I have generated based on the hash code/. > > > >> > https://myinstallationhost/openmeetings/hash?secure=7d34224f-04c8-4546-87a9-f83c36ea03b1#id6 > > > > > > The room exists and is a public room > > OM version: 5.0.0-M4 > > Revision: 9753e61 > > Build date: 2020-04-19T03:54:23Z > > The error I have got upon rediraction is the following: > > > >> Invalid hash > >> Access denied. You have no rights to enter this room. > > > > > > Could anyone please help me on this issue. I have tried almost three > days but not found any workaround. > > > > Thanks in advance. > > > > -- > Best regards, > Maxim >