Title: &quot;Invalid grant_type parameter or parameter missing&quot;
Last modified: August 21, 2016

---

# "Invalid grant_type parameter or parameter missing"

 *  [healthstatus](https://wordpress.org/support/users/healthstatus/)
 * (@healthstatus)
 * [12 years ago](https://wordpress.org/support/topic/invalid-grant_type-parameter-or-parameter-missing/)
 * I am passing “authorization_code” as the grant_type parameter and get the error
   message “Invalid grant_type parameter or parameter missing”.
 * What are the valid grant_types?
 * I have spent many hours over many days, trying to get this to work. I appreciate
   the effort on the plugin, but without any documentation it is quite frustrating.
 * [https://wordpress.org/plugins/oauth2-provider/](https://wordpress.org/plugins/oauth2-provider/)

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [Justin](https://wordpress.org/support/users/jgwpk/)
 * (@jgwpk)
 * [12 years ago](https://wordpress.org/support/topic/invalid-grant_type-parameter-or-parameter-missing/#post-4903268)
 * Sorry about the delay. It is better to use GitHub repo for this. First off I 
   just updated to the plugin to version 2.0.0 with many fixes/cleanup to the backend.
   it can be be found at [https://github.com/justingreerbbi/wordpress-oauth](https://github.com/justingreerbbi/wordpress-oauth)
 * I know there is a lack in documentation. Please read the readme and you will 
   find what you are looking for. HINT BELOW!
 *     ```
       Request Token Requires only 4 parameters
   
       code - This is auth code returned from the authorize call
       grant_type - Supported value's = authorization_code
       client_id
       client_secret
       ```
   
 *  Thread Starter [healthstatus](https://wordpress.org/support/users/healthstatus/)
 * (@healthstatus)
 * [12 years ago](https://wordpress.org/support/topic/invalid-grant_type-parameter-or-parameter-missing/#post-4903271)
 * Hi Justin,
    as I stated in my first message:
 * I am passing “authorization_code” as the grant_type parameter
 * so is that literal “authorization_code” (which is what I am sending) or is that
   some passback code that has been received and you are calling it something else
   in your readme?

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘"Invalid grant_type parameter or parameter missing"’ is closed to new
replies.

 * ![](https://ps.w.org/oauth2-provider/assets/icon-256x256.gif?rev=2603051)
 * [WP OAuth Server (OAuth Authentication)](https://wordpress.org/plugins/oauth2-provider/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/oauth2-provider/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/oauth2-provider/)
 * [Active Topics](https://wordpress.org/support/plugin/oauth2-provider/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/oauth2-provider/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/oauth2-provider/reviews/)

## Tags

 * [OAuth](https://wordpress.org/support/topic-tag/oauth/)

 * 2 replies
 * 2 participants
 * Last reply from: [healthstatus](https://wordpress.org/support/users/healthstatus/)
 * Last activity: [12 years ago](https://wordpress.org/support/topic/invalid-grant_type-parameter-or-parameter-missing/#post-4903271)
 * Status: not resolved