Does that work with just passing in the authToken as the identification of the user, as that is all I have on the server side to make that request for them.
After I got the token, I tried to use it but it just give me a login in failure. I tried to use your demo app and it also fails login. I this the way we should be using this token?
After speaking with @carson.zoom, the token generated from GET /users/{userId}/token is for joining and starting meetings without having to login. Not for logging users into the Electron SDK. Apologies for the confusion.
The SSO token should be generated by your Identity Provider(IDP), not from us. Here are more details about SSO login with Zoom:
The correct way to use the Electron SDK would be to have the user login. Or use the ZAK token to start / join meetings. Details here:
So we should be able to start the meeting and join the meeting without logging in. But after I use this token will Zoom use the correct user in the meeting?
Is there a way that we can discuss Carson about a way to login to SDK with a token from OAuth.
Thanks for the reply. If you authenticate with Zoom API and get zoom token and zak to start/join a meeting, then the Zoom SDK will recognize the user and show in the meeting.
The Zoom SDK does not support OAuth authentication at the moment.
I am still having some issues getting the meeting started.
I am calling
StartMeetingWithOutLogin(
{“zoomaccesstoken”:“myzak”,“userid”:“myuserid”,“usertoken”:“myaccesstoken”,“isvideooff”:true}
)
The usertoken is the access token I get from the refresh token
and the zoomaccesstoken is the zak token using https://zoom.us/v2/users/me/token?type=zak
But I get the result of: SDKERR_INVALID_PARAMETER
Is there something I am missing or have incorrect here?
Thanks for the reply. I have seen the values there in the zoom_meeting.js before. My issue is I don’t know which values are required. I also didn’t know I needed a meeting number to start a meeting. So I should first create a meeting on the oauth side? Then I will be able to be host of the meeting?