Support » Plugin: WP OAuth Server » "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/

Viewing 2 replies - 1 through 2 (of 2 total)
  • 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

    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

    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.