Please Note: This is version 1.1.0 of this plugin. We have tested the plugin thoroughly and it is working great, but we have not tested it with every single API in the world. If you find a bug, please contact us and we will remedy the issue immediately – our support is pretty amazing.
Connect to API’s with OAuth 2.0 authorization
This plugin works with our free WPGetAPI plugin to allow you to connect to API’s that require authorization via the OAuth 2.0 method using the following Grant Types
- Authorization Code
- Authorization Code with PKCE
- Client Credentials
- We’ve also added a ‘custom’ option for API’s that don’t strictly follow a protocol
This plugin will add a new tab called OAuth 2.0 where you can add the OAuth 2.0 details of your API, which looks something like in the images below.
Once you add your details, you can then click either the ‘Authorize’ or ‘Get Token’ button (follow the prompts, if there are any). You should then receive an access token (and possibly a refresh token) which the plugin will save. From there you simply need to add the keyword ‘wpgetapi_oauth_token’ wherever your token needs to go in the subsequent API calls and the plugin will keep your token up to date.
For detailed setup instructions, please see our article on how to setup OAuth 2.0 authorisation.
We can help with installation and setup, at no extra cost.