# The Token's Signature resulted invalid (JWT Token)

**URL:** <https://devforum.zoom.us/t/the-tokens-signature-resulted-invalid-jwt-token/8661>\
**Category:** iOS\
**Created:** [March 14, 2020, 2:20pm UTC](https://devforum.zoom.us/t/the-tokens-signature-resulted-invalid-jwt-token/8661 "2020-03-14T14:20:43Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![muhannad](https://avatars.discourse-cdn.com/v4/letter/m/c68b51/32.png) [@muhannad](https://devforum.zoom.us/u/muhannad)\
**Post date:** [March 14, 2020, 2:20pm UTC](https://devforum.zoom.us/t/the-tokens-signature-resulted-invalid-jwt-token/8661/1 "2020-03-14T14:20:43Z")

</div>

Hello,  
I am trying to create JWT token, but it returns:

```
{
"message" : "The Token's Signature resulted invalid when verified using the Algorithm: HmacSHA256",
"code" : 124
}

```

Here’s how I am doing it:

 ![Screenshot 2020-03-14 at 17.20.04](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/2X/6/64ebc3515df5322617ec1f9ff9475cdb0db15bb5.png)

What causes the issue?  
Thank you.

---

<div class="post-metadata">

**Author:** ![carson.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/carson.zoom/32/785_2.png) [@carson.zoom](https://devforum.zoom.us/u/carson.zoom)\
**Post date:** [March 17, 2020, 3:10am UTC](https://devforum.zoom.us/t/the-tokens-signature-resulted-invalid-jwt-token/8661/2 "2020-03-17T03:10:41Z")

</div>

Hi [muhannad](https://devforum.zoom.us/u/muhannad),

Thanks for the post. Are you trying to use JWT token for SDK initialization or to authenticate with Zoom API? Both of them could involve JWT token and the JWT token for them are different.

- If using JWT for SDK initialization, please refer to the doc: [https://marketplace.zoom.us/docs/sdk/native-sdks/iOS/mastering-zoom-sdk/sdk-initialization#initialize-using-jwt](https://marketplace.zoom.us/docs/sdk/native-sdks/iOS/mastering-zoom-sdk/sdk-initialization#initialize-using-jwt)
- If using JWT to authenticate with Zoom Rest API to retrieve token: [https://marketplace.zoom.us/docs/sdk/native-sdks/iOS/mastering-zoom-sdk/start-join-meeting/api-user/authentication](https://marketplace.zoom.us/docs/sdk/native-sdks/iOS/mastering-zoom-sdk/start-join-meeting/api-user/authentication)

Hope this helps. Thanks!

---

<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, 7:31pm UTC](https://devforum.zoom.us/t/the-tokens-signature-resulted-invalid-jwt-token/8661/3 "2020-08-21T19:31:27Z")

</div>

Closed on August 21, 2020, 7:31pm UTC


