Screenshot New Years Sale Get the "ALL ACCESS PASS" and Save $349. Unlimited Licenses.
Show All Access Pass

Enable User Consent Dialog

Published: October 4, 2018 | Updated: February 14th, 2019
  1. Home
  2. Docs
  3. How To
  4. Enable User Consent Dialog

Requires version 3.4.1 or greater

The consent dialog works like any other dialog from systems like Google or Facebook and gives the user the ability to allow access to their data.

User Consent  “Consent” is the action by an owner or user that authorizes access to protected information. Consent is only requested when using the “Authorization Code” grant type. WP OAuth Server has disabled this feature by default in the past and will continue to disable it by default in the future. If you would like for WP OAuth Server to request permission from the user, you will need to use the filter below.

add_filter( 'wo_use_grant_request', '__return_true' );
Icon