# Format token JWT when create jwt token from server to join session for web and mobile

**URL:** <https://devforum.zoom.us/t/format-token-jwt-when-create-jwt-token-from-server-to-join-session-for-web-and-mobile/49515>\
**Category:** Video SDK\
**Created:** [May 4, 2021, 3:05am UTC](https://devforum.zoom.us/t/format-token-jwt-when-create-jwt-token-from-server-to-join-session-for-web-and-mobile/49515 "2021-05-04T03:05:44Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![thinhphoho01](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/thinhphoho01/32/26246_2.png) [@thinhphoho01](https://devforum.zoom.us/u/thinhphoho01)\
**Post date:** [May 4, 2021, 3:05am UTC](https://devforum.zoom.us/t/format-token-jwt-when-create-jwt-token-from-server-to-join-session-for-web-and-mobile/49515/1 "2021-05-04T03:05:44Z")

</div>

Hello all, I’m trying video sdk intergate to your system.  
I see, When I create token from server with user\_identity with length \<= 16 character, mobile with zoom instant app demo can join session, if user\_identity length \> 16, join session fail  
Please provide correct format of create token with all field in payload, thanks u

---

<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:** [May 4, 2021, 5:59pm UTC](https://devforum.zoom.us/t/format-token-jwt-when-create-jwt-token-from-server-to-join-session-for-web-and-mobile/49515/2 "2021-05-04T17:59:22Z")

</div>

Hi @thinhphoho01, thanks for using our SDK.

The `user_identity` field is in fact limited to 16 characters. We are working on updating our documentation to reflect this limitation.

Thanks!

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/6/1/614bdd549b610bbaa46ff934617683a02bdaa03c.png) [@system](https://devforum.zoom.us/u/system)\
**Post date:** [June 4, 2021, 3:59am UTC](https://devforum.zoom.us/t/format-token-jwt-when-create-jwt-token-from-server-to-join-session-for-web-and-mobile/49515/3 "2021-06-04T03:59:54Z")

</div>

Closed on June 4, 2021, 3:59am UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
