# The user created with Api can login from iOS application with zpk or token key.

**URL:** <https://devforum.zoom.us/t/the-user-created-with-api-can-login-from-ios-application-with-zpk-or-token-key/979>\
**Category:** iOS\
**Created:** [February 16, 2018, 6:30am UTC](https://devforum.zoom.us/t/the-user-created-with-api-can-login-from-ios-application-with-zpk-or-token-key/979 "2018-02-16T06:30:28Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mustafa\_Savas](https://avatars.discourse-cdn.com/v4/letter/m/3bc359/32.png) [@Mustafa\_Savas](https://devforum.zoom.us/u/Mustafa_Savas)\
**Post date:** [February 16, 2018, 6:30am UTC](https://devforum.zoom.us/t/the-user-created-with-api-can-login-from-ios-application-with-zpk-or-token-key/979/1 "2018-02-16T06:30:28Z")

</div>

Hi;

We create a meeting with Api and include the user. We want to log in to the iOS sdk with the token that is generated for this user. When we enter the parameters as shown in the joinmeeting, we can not log in.

&nbsp;

Waiting for your help.

---

<div class="post-metadata">

**Author:** ![Wei\_Guo1](https://avatars.discourse-cdn.com/v4/letter/w/ec9cab/32.png) [@Wei\_Guo1](https://devforum.zoom.us/u/Wei_Guo1)\
**Post date:** [February 16, 2018, 5:18pm UTC](https://devforum.zoom.us/t/the-user-created-with-api-can-login-from-ios-application-with-zpk-or-token-key/979/2 "2018-02-16T17:18:02Z")

</div>

Hi Mystafa,

In order to log in, you need to use email address and password, not token. Please take a look at the following API in the sample:

- (void)onMobileRTCAuthReturn:(MobileRTCAuthError)returnValue

Best

---

<div class="post-metadata">

**Author:** ![DeveloperBot](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/developerbot/32/12632_2.png) [@DeveloperBot](https://devforum.zoom.us/u/DeveloperBot)\
**Post date:** [August 21, 2020, 5:37pm UTC](https://devforum.zoom.us/t/the-user-created-with-api-can-login-from-ios-application-with-zpk-or-token-key/979/3 "2020-08-21T17:37:32Z")

</div>

Closed on August 21, 2020, 5:37pm UTC


