ZoomSDKAuthService getSDKIdentity

What is the meaning of this method: https://zoom.github.io/zoom-sdk-macos/interface_zoom_s_d_k_auth_service.html#a2f976874efa9e53b9a30736835537929
?

It seems to return null in all cases.

I hoped it would be the “access token” that SDK uses internally to authenticate against REST API, so I would be able to also use it and fill the SDK gaps using REST APIs…

Hi @grey-bit,

Thanks for the post. This is not for the access token. If you would like to get the zoom token and zoom access token(zak), then you will need to send a request to Zoom API: vhttps://marketplace.zoom.us/docs/api-reference/zoom-api/users/usertoken; Once you retrieved the zoom token and the zak from REST API, you could use the interface startMeetingWithZAK(https://zoom.github.io/zoom-sdk-macos/interface_zoom_s_d_k_meeting_service.html#a8fd7858c352fdfd72282c722862986f4) to start a meeting.

Hope this helps. Thanks!

Please correct me if I am wrong, but to use that REST API, I will have to force the user into one more authentication besides what was already done for the SDK, esp. in SSO case.

Can you please clarify what getSDKIdentity API does and how it can be leveraged for any purpose?

Thanks for the support!

Hi @grey-bit,

Thanks for the reply. Maybe I misunderstood your question. If you have already logged in using SSO, then you do not need to call REST API to get the zoom token and zoom access token.

If you would like to use Zoom REST API, you might need to generate the JWT token to communicate with API, you may follow the instruction here to set up authentication: https://marketplace.zoom.us/docs/api-reference/using-zoom-apis; There is no REST API access token provided in SDK since they are 2 different products.

Thanks!