cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
582
Views
0
Helpful
1
Replies

A simple question about password authentication using Webex JS SDK

klimadamenko
Level 1
Level 1

Hello! Could you please help me to figure out the process of password authentication while entering a meeting by SIP URL?

I'm working with this example: https://webexsamples.github.io/browser-sdk-samples/browser-plugin-meetings/

And I'm trying now to connect to existing meeting by specifying SIP URL in the field "Create Meeting". After providing such URL I can see the meeting in the available list below. But when I try to enter the meeting password I can see the following error in DevTools console:

wx-js-sdk Meeting:state#onEnterError --> state->onEnterError#meeting.id: f181b433-583f-430a-addc-a87635f630be | Transition 'fail' : RINGING -> ERROR, with error PasswordError: Password is required, please use verifyPassword(). Last states: IDLE,RINGING,ERROR

Could you please point how to use verifyPassword() method to make it possible to enter the meeting? 

1 Reply 1

sandiban
Cisco Employee
Cisco Employee

Hi @klimadamenko 

Could you kindly check with the Host of the meeting and find out if you're actually invited to this meeting.

If you were not invited by the Host, then just by using the SIP URL, you can't join the meeting. And, only during such situation - we receive this error.

Ask the Host of meeting to send you a meeting Invitation first and once done, accept the invitation from your side.

Now, you go to JS SDK Test URL and Authenticate yourself and finally just click on webex.meetings.syncMeetings() button. You should be able to find a new button there with meeting.join() [object Object] text on it.

You don't need to provide the SIP URI there to join the meeting anyway.

Please let us know for any further assistance on this.

Regards,
Sandip