• Resolved kilianso

    (@kilianso)


    Hey there

    I used your plugin since months now and it works like a charm!
    Now since the latest WordPress update, i’m unable to use it anymore. It’s always showing this message:

    {
        "error": "unauthorized_client",
        "error_description": "The grant type is unauthorized for this client_id"
    }

    any fix?

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter kilianso

    (@kilianso)

    I tried now every single thing from your documentation.
    Using postman, implicit or not, redirect url or not, all grant types available in free version and it’s just not working anymore! I made no changes at all and all off the sudden it just stopped working since the i updated WordPress. This breaks our whole website functionality.

    Can you please give a PRECISE step by step auth workflow using the FREE version of your plugin. I’m trying to access the WPAPI from an external tool using your plugin.

    Plugin Author Justin Greer

    (@justingreerbbi)

    Sorry for the issues you are experiencing. When you updated, did you jump may versions or modify the codebase at all?

    What grant type are you using when you get this error?

    Thanks

    It’s a bug since the library @justingreerbbi is using has it. Check https://github.com/bshaffer/oauth2-server-php/issues/755 and https://github.com/bshaffer/oauth2-server-bundle/issues/45.

    @justingreerbbi You should update the plugin with the latest vendors instead.

    Plugin Author Justin Greer

    (@justingreerbbi)

    @davidnaviaweb

    Thanks for the input. While it is true we are using that particular library, it is a forked version and makes issues a bit different. The error above is pretty general and so far is the only instance of this we are seeing related to the WP jump.

    @kilianso

    Are you able to provide more information? The 400 messages you are getting could relate to the configuration in the back-end in the options or even server updates changing the way headers are passed.

    What grant type are you attempting to use?

    Thanks

    I hope at least you read the links I provided. You will find useful, and you will realize that at all is a general error. There is a var that is being loaded using $_POST, but not every request is made under POST HTTP method. See https://github.com/bshaffer/oauth2-server-php/issues/755#issuecomment-255874515

    Best regards.

    Plugin Author Justin Greer

    (@justingreerbbi)

    Thanks again for the input. Have a gander at the latest release and let me know if the issue still exists.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Since latest WP update – The grant type is unothorized’ is closed to new replies.