# SDK upgrade problem

**URL:** <https://devforum.zoom.us/t/sdk-upgrade-problem/67942>\
**Category:** Meeting SDK\
**Tags:** api\
**Created:** [April 22, 2022, 8:25am UTC](https://devforum.zoom.us/t/sdk-upgrade-problem/67942 "2022-04-22T08:25:24Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![wangqi](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/wangqi/32/37127_2.png) [@wangqi](https://devforum.zoom.us/u/wangqi)\
**Post date:** [April 22, 2022, 8:25am UTC](https://devforum.zoom.us/t/sdk-upgrade-problem/67942/1 "2022-04-22T08:25:24Z")

</div>

When we upgraded the Meeting SDK referenced in the APP from V5.2.42037.1112 to V5.10.1.3038, we found that a previous MobileRTCAuthService API for user login was removed as follows. No alternative was found in the new SDK; Therefore, I would like to ask how to use email and password login in THE SDK of V5.2.42037.1112. To replace the removed method below.

- (BOOL)loginWithEmail:(nonnull NSString\*)email password:(nonnull NSString\*)password rememberMe:(BOOL)rememberMe;

---

<div class="post-metadata">

**Author:** ![jon.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/jon.zoom/32/13495_2.png) [@jon.zoom](https://devforum.zoom.us/u/jon.zoom)\
**Post date:** [April 22, 2022, 10:21pm UTC](https://devforum.zoom.us/t/sdk-upgrade-problem/67942/2 "2022-04-22T22:21:24Z")

</div>

Hi @wangqi,

The ability to login with the SDK directly no longer exists, so you will need to utilize OAuth for user authentication. Once a user successfully completes the [Zoom OAuth](https://marketplace.zoom.us/docs/api-reference/using-zoom-apis#using-oauth-20) flow, you can get their ZAK through the REST API to pass into the SDK.

Thanks!
