# Migrating JWT to Server to Server Oauth from 2.6 to 2.7

**URL:** <https://devforum.zoom.us/t/migrating-jwt-to-server-to-server-oauth-from-2-6-to-2-7/84651>\
**Category:** Web\
**Created:** [March 14, 2023, 2:40am UTC](https://devforum.zoom.us/t/migrating-jwt-to-server-to-server-oauth-from-2-6-to-2-7/84651 "2023-03-14T02:40:57Z")\
**Posts on this page:** 1\
**Showing post:** 13

<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:** [April 11, 2023, 1:50pm UTC](https://devforum.zoom.us/t/migrating-jwt-to-server-to-server-oauth-from-2-6-to-2-7/84651/13 "2023-04-11T13:50:54Z")

</div>

Thank you for the details. To confirm, are you generating the signature with PHP function? If so, here is a helpful developer forum post on generating the signature with PHP:

> [@Failed to join meeting when using websdk](https://devforum.zoom.us/t/failed-to-join-meeting-when-using-websdk/77602):
>
> I have created a meeting using api and jwt app API key and secret key. Then I installed @zoomus/websdk the n when I click the join meeting in web a signature is generated in backend with PHP and then join the meeting but it says type: ‘JOIN\_MEETING\_FAILED’, reason: ‘Fail to join the meeting.’, errorCode: 200 code to generate signature in backend: public function generate\_signature($meeting\_number, $role) { $api\_key = config('zoom.zoom\_sdk\_key'); $api\_secret = config('zoom.…

---

_[View the full topic](https://devforum.zoom.us/t/migrating-jwt-to-server-to-server-oauth-from-2-6-to-2-7/84651)._
