# How to determine role value for signature

**URL:** <https://devforum.zoom.us/t/how-to-determine-role-value-for-signature/69170>\
**Category:** Web\
**Created:** [May 18, 2022, 12:08pm UTC](https://devforum.zoom.us/t/how-to-determine-role-value-for-signature/69170 "2022-05-18T12:08:28Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![donte.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/donte.zoom/32/24412_2.png) [@donte.zoom](https://devforum.zoom.us/u/donte.zoom)\
**Post date:** [May 27, 2022, 10:37pm UTC](https://devforum.zoom.us/t/how-to-determine-role-value-for-signature/69170/2 "2022-05-27T22:37:47Z")

</div>

Hi, @_maksym,

Thank you for posting. One approach you can consider is to decode the signature, the format will be [JSON Web Token](https://marketplace.zoom.us/docs/sdk/native-sdks/auth#generate-the-sdk-jwt),

# Addendum

If using **SDK App type** , debug by [https://jwt.io](https://jwt.io)

# Example signature created with SDK App type:

> eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzZGtLZXkiOiJhYmMxMjMiLCJtbiI6IjEyMzQ1Njc4OSIsInJvbGUiOjAsImlhdCI6MTY0NjkzNzU1MywiZXhwIjoxNjQ2OTQ0NzUzLCJhcHBLZXkiOiJhYmMxMjMiLCJ0b2tlbkV4cCI6MTY0Njk0NDc1M30.UcWxbWY-y22wFarBBc9i3lGQuZAsuUpl8GRR8wUah2M

# [jwt.io](https://jwt.io)

 ![E58A916E-347F-41E9-99BD-2BA79AC60C43](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/c/1/c121123fbb4ffc12580418e7afbce3bacb9546d4.png)

In the PAYLOAD section, you can see the values and debug them there.

# \_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_

If using **JWT App type** , debug by base64decoding it. Here is a helpful forum post you can reference on this topic as well:

> [@Invalid Parameter - signature length error, 0 \< length \< 150](https://devforum.zoom.us/t/invalid-parameter-signature-length-error-0-length-150/36563/5):
>
> Hey @john8, After [base64 decoding](https://www.base64decode.org/) your signature it looks like you are generating it incorrectly: Decoded, it should be in the following format: jwtKey.meetingNumber.expiryTime.role.encryptedJwtSecret Thanks, Tommy

---

_[View the full topic](https://devforum.zoom.us/t/how-to-determine-role-value-for-signature/69170)._
