# The Token's Signature resulted invalid when verified using the Algorithm: HmacSHA256 php

**URL:** <https://devforum.zoom.us/t/the-tokens-signature-resulted-invalid-when-verified-using-the-algorithm-hmacsha256-php/41352>\
**Category:** API and Webhooks\
**Created:** [January 23, 2021, 12:12pm UTC](https://devforum.zoom.us/t/the-tokens-signature-resulted-invalid-when-verified-using-the-algorithm-hmacsha256-php/41352 "2021-01-23T12:12:54Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![webinars4](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/webinars4/32/21957_2.png) [@webinars4](https://devforum.zoom.us/u/webinars4)\
**Post date:** [January 23, 2021, 12:12pm UTC](https://devforum.zoom.us/t/the-tokens-signature-resulted-invalid-when-verified-using-the-algorithm-hmacsha256-php/41352/1 "2021-01-23T12:12:54Z")

</div>

hello sir  
i want to integrate my application using rest api working when i am using token of generate token from profile .  
but i am using jwt token in php (laravel) . i am also intsall package from jwt “[https://jwt.io/](https://jwt.io/)” of php  
it is not working .please help me Algorithm: HmacSHA256 php to genrate signature  
Thanks  
Amit

---

<div class="post-metadata">

**Author:** ![will.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/will.zoom/32/14417_2.png) [@will.zoom](https://devforum.zoom.us/u/will.zoom)\
**Post date:** [January 25, 2021, 4:17pm UTC](https://devforum.zoom.us/t/the-tokens-signature-resulted-invalid-when-verified-using-the-algorithm-hmacsha256-php/41352/2 "2021-01-25T16:17:52Z")

</div>

Hi @webinars4 ,

Have you tried searching [jwt.io](http://jwt.io) or stackoverflow for a library in PHP? Perhaps you will find the following helpful for programmatically generating a token in PHP:  
[GitHub - lcobucci/jwt: A simple library to work with JSON Web Token and JSON Web Signature](https://github.com/lcobucci/jwt)

Thanks,  
Will

---

<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:** [February 25, 2021, 2:18am UTC](https://devforum.zoom.us/t/the-tokens-signature-resulted-invalid-when-verified-using-the-algorithm-hmacsha256-php/41352/3 "2021-02-25T02:18:05Z")

</div>

Closed on February 25, 2021, 2:18am UTC

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