Extending the OpenID Discovery API
Documentation under "How To" for WP OAuth Server
Extending the OpenID Discovery API
To extend the OpenID Discovery API, you have the option to use WordPress’s filter API. Below is an example of how to extend the OpenID Discovery API and add a new parameter to the response of “new_value_key”.
function modify_openid_discovery_api( $return ) {
$return['new_discovery_value'] = array(
'new_value_key' => 'Some value'
);
return $return;
}
add_filter( 'wo_openid_discovery', 'modify_openid_discovery_api' );
Current Version: 3.9.0
Any documentation and or published articles may not reflect the latest WP OAuth Server plugin version. It is always best to stay updated for security.
Search Documentation
How To Articles
Below is a list of "How To" documentation articles.- Connect your App to WordPress Users
- Custom Login Page
- Using User Scopes with WP OAuth Server and REST API
- WP REST API Bearer Token Authentication
- Enabling WooCommerce API
- Enable User Consent Dialog
- OAuth 2.0 Token Introspection
- Disable Plugin Updates
- Extending the OpenID Discovery API
- OpenID Authentication for WP REST API
- Using a Bearer Token with WP REST API
- How to Authenticate with WP REST API
- Using POSTMAN and WP REST API
- Setup WP OAuth Server for Single Sign On with WordPress
- Extending Endpoints
- Setting up Moodle and WordPress for Single Sign On
- Rocket.Chat OAuth Setup
- Never Expiring Access Token
OAuth Server 3.9.0
WP OAuth Server Pro allows for Unlimited clients and multiple grant types.
BUY NOW