• Resolved vdietmar

    (@vdietmar)


    Hi,

    I am using the Restrict User Access Plugin, great plugin! Recently I installed another plugin that allows my WP to serve as a OAuth Server. The name of the plugin is “WP OAuth Server” (https://wp-oauth.com/).

    Unfortunatelly, both plugin are not playing well with each other. WP OAuth Server registers the following paths:

    /wp-json:

    “authentication”: {
    “oauth2”: {
    “authorize”: “<base_url>/oauth/authorize”,
    “token”: “<base_url>/oauth/token”,
    “me”: “<base_url>/oauth/me”,
    “version”: “2.0”,
    “software”: “WP OAuth Server”
    },

    These paths must be publicly available. The Restrict User Plugin, however, blocks them as soon as I start using it for restricting content. This is b/c I cannot “whitelist” these paths and the plugin also doesn’t seem “know” then as paths that shouldn’t be restricted to start with.

    Any ideas?

    –Dietmar

Viewing 1 replies (of 1 total)
  • Plugin Author Joachim Jensen

    (@intoxstudio)

    Can you provide some more details to your problem, i.e. how have you setup your access levels? What does it look like when users are blocked? RUA shouldn’t interfere with the WP REST API

Viewing 1 replies (of 1 total)

The topic ‘WP OAuth Server & Restrict User Access’ is closed to new replies.