# Invalid Grant Type for Oauth app using PHP

**URL:** <https://devforum.zoom.us/t/invalid-grant-type-for-oauth-app-using-php/87191>\
**Category:** Authentication\
**Created:** [April 21, 2023, 8:20pm UTC](https://devforum.zoom.us/t/invalid-grant-type-for-oauth-app-using-php/87191 "2023-04-21T20:20:11Z")\
**Posts on this page:** 1\
**Showing post:** 19

<div class="post-metadata">

**Author:** ![alanj](https://avatars.discourse-cdn.com/v4/letter/a/97f17d/32.png) [@alanj](https://devforum.zoom.us/u/alanj)\
**Post date:** [May 2, 2023, 4:31pm UTC](https://devforum.zoom.us/t/invalid-grant-type-for-oauth-app-using-php/87191/19 "2023-05-02T16:31:33Z")

</div>

Per php’s curl documentation, if `CURLOPT_POSTFILEDS` is set to an array, then boundary is automatically set and the `multipart/form-data` is set as well. I will try passing in `&` delimited parameters and get back to you very shortly.

---

_[View the full topic](https://devforum.zoom.us/t/invalid-grant-type-for-oauth-app-using-php/87191)._
