User created through API "custCreate" asks for a password when starting a meeting and joins it instead

Description
We, here at Cyndi Technologies, bought 50 licenses initially to go with Zoom services which started from 15th of Jan. And it’s been more than 20 days since then and the service still hasn’t been set up and working.

The issue is we wanted the process of allocation of licenses completely dynamic that any user with privileges on our platform can host a meeting without ever bothering about the Zoom Login and a host license will then be dynamically allocated to that user only for that particular meeting.

For which I created a way:

  1. Generate a JWT Token dynamically
  2. Create a “custCreate” user with Create User API using the JWT Token
  3. Generate ZAK Token with JWT Token
  4. Pass JWT Token, ZAK Token and PMI to the Frontend SDK to start a meeting.
  5. After the meeting, delete the user to free the allocated license.

Everything is working absolutely fine, except one thing, that even when using StartMeetingParamsWithoutLogin(), it actually joins the meeting and asks for a password which was never set, nor returned by the API request.

My Code to start a meeting:

    val zoomSDK = ZoomSDK.getInstance()
        if (!zoomSDK.isInitialized) {
            initializeZoom()
        }
        val meetingService: MeetingService = zoomSDK.meetingService
        val opts = StartMeetingOptions()
        opts.custom_meeting_id = startMeetingModel.className
        opts.no_meeting_end_message = true

        val params = StartMeetingParamsWithoutLogin()
        val email = Hawk.get<String>(common.userEmail)
        if (!email.isNullOrBlank()) {
            params.displayName = Hawk.get(common.userName)
            params.userId = email
            params.userType = MeetingService.USER_TYPE_API_USER
            params.zoomAccessToken = startMeetingModel.zakToken
            params.meetingNo = startMeetingModel.meetingNo
            meetingService.startMeetingWithParams(context, params, opts)
        }

The above code works fine for the owner account and starts the meeting, but it doesn’t work for other host licenses allocated to a “custCreate” user.

Error
Cannot host a meeting with ZAK Token and StartMeetingParamsWithoutLogin(), asks for password and then joins the waiting room even when the user is the actual host.

Which App Type (OAuth / Chatbot / JWT / Webhook)?
OAuth and dynamically generated JWT to get ZAK Token from the backend.

Which Endpoint/s?

How To Reproduce (If applicable)
Steps to reproduce the behavior:

  1. Create a “custCreate” user with the above linked API.
  2. Start the meeting with the aforementioned code.

Screenshots (If applicable)

Additional context
We were promised by the Sales person that we will be able to do what we wanted, dynamic allocation. But, how were never told even after mailing them. I believe our query will be solved as soon as possible, it is already costing us and our relations with zoom.

Hi @Cyndi,

Thanks for reaching out about this.

To clarify, how are you generating your ZAK token for this user? Are you using this endpoint or something else?

Please let me know—thanks!
Will

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.