Testing OAuth2

  • Unknown's avatar

    Hi,

    I’m using a wordpress sandbox account to integrate a wordpress ‘node’ into our company. We’re implementing OAuth2 authentication. In order to test it I need to set up OAuth2 on my WordPress sandbox account. I added the plugin ‘WP OAuth Server (OAuth Authentication)’ but it only allows implicit authentication on the free version. I require the authorization code exchange flow to test our implementation, but don’t wish to pay 80 Dollars just to test it once. Is there some recourse regarding this? Or another way to test OAuth2 with WordPress?

  • The site mentioned does not use our managed hosting environment from WordPress.com. Instead, it’s set up on the open source WordPress.org software which is something different.

    This page talks about this differences in more detail:

    WordPress.com vs. WordPress.org

    Help with that site comes from https://wordpress.org/support/forums/

  • Unknown's avatar

    Ok, thanks for the clarification.

    Do you know if it’s possible to run the tests I mentioned on the official WordPress platform? Our platform is meant to support WordPress as opposed to any other external platforms.

    I see that even on wordpress.com, the same plugin is also under the same constraints, and to even install a plugin I need to be under a business plan.

  • Hi there,

    Yes, in order to do this with WordPress.com, you’ll need to purchase the Business Plan which allows plugin installs. Have you checked out

    https://developer.wordpress.com/docs/oauth2/?

    On that page, we provide time-limited code that your application can use in exchange for a full authorization token. Please take a look and let me know if that is what you are needing.

    Thanks,

  • The topic ‘Testing OAuth2’ is closed to new replies.