I am using latest Android Meeting SDK but having problem when user authorize for the first time , I am using https://zoom.us/oauth/authorize url in android webview to login and authorize user in app. Our web application is also doing same but When backend request for ZAK, it is not getting with the code which I am getting after authorization in query parameter, but this works properly in Web.
Please suggest me how can I authorize users in android.
The SDK is not directly involved in the OAuth flow. It is only involved after you have successfully retrieved a user’s ZAK. If you are looking for help with accomplishing that, I would suggest posting over in #api-and-webhooks.
Thanks for reply! I am looking forward switching over to video SDK in android studio. Please suggest me how can I switch to Video SDK or remove meeting SDK from android and put Video SDK.
In order to remove the Meeting SDK from your project, you would need to delete the mobilertc and commonlib modules from your project, followed by removing the lines from your app’s build.gradle which add them to your project.
For the Video SDK, our documentation would be a great place to start. If you have any additional questions, please post over in #mobile-video-sdk:android.
I see that starting on February 2022 ZOOM will disable the login+password authentication for MeetingsSDK and OAUTH should be used.
Can you tell me how should I be doing that? Which version of MeetingsSDK will support such feature?
The main point of contact you will need to be aware of when migrating to OAuth is that instead of relying on internal SDK state to start/join a meeting as a specific user, you will be passing in that user’s ZAK. If you have any additional questions on which existing pieces of SDK functionality map to what, I’ll be happy to help. Otherwise for any questions specific to the OAuth flow or usage of the REST API, the #api-and-webhooks would be a great place to ask.
Hi @jon.zoom , thanks again for answering me.
Yeah I went through the DOCS but to be honest I couldn’t understand the entire flow.
Today we’re using the zoom user’s credential to boot up a meeting or to join one, using MeetingsSDK for Android. Now you’re saying that I would need to create the meeting outside of the SDK, using other API? And after that, how will I join/start through the SDK?
If you can help me understand that I would really appreciate.
OAuth is definitely not the simplest flow out there, so no worries if it isn’t immediately clear.
Since the SDK no longer supports meeting management, scheduling a new meeting would need to be done through the REST API.
Because the user would be required to authenticate through the REST API anyway, you would no longer need to log directly into the SDK. Instead, you can pass the user’s ZAK into the SDK as needed (e.g. when starting a meeting as host). This token can be passed directly into the zoomAccessToken field.
So if you were looking to schedule and start a meeting as a specific user, the flow would look something like this: