• Hello,

    I noticed that many plugins not working very well when installed JWT, Can I whitelist all? or it will be dangerous? if not I need to use JWT with one plugin only for now, Can I whitelist all and restrict that plugin only from the whitelist?

    add_filter( 'jwt_auth_whitelist', function ( $endpoints ) {
      $your_endpoints = array(
          ‘/wp-json/*’,
      );
    
      return array_unique( array_merge( $endpoints, $your_endpoints ) );
    } );
  • The topic ‘Can I whitelist all?’ is closed to new replies.