You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Currently when the Privacy mode is turned on to put the entire site behind OIDC authentication this only protects standard web requests. Currently, the REST(and presumably others) endpoints are still publicly exposed.
To Reproduce
Steps to reproduce the behavior:
Turn on "Enforce Privacy" in the plugin settings.
Access /wp-json/wp/v2/posts
Confirm that the content is loaded without any access restrictions.
Expected behavior
The API endpoints should return a 403 forbidden when a user isn't authenticated already via the IDP.
Isolating the problem (mark completed items with an [x]):
I have deactivated other plugins and confirmed this bug occurs when only this plugin is active.
This bug happens with a default WordPress theme active.
I can reproduce this bug consistently using the steps above.
Describe the bug
Currently when the Privacy mode is turned on to put the entire site behind OIDC authentication this only protects standard web requests. Currently, the REST(and presumably others) endpoints are still publicly exposed.
To Reproduce
Steps to reproduce the behavior:
/wp-json/wp/v2/posts
Expected behavior
The API endpoints should return a 403 forbidden when a user isn't authenticated already via the IDP.
Isolating the problem (mark completed items with an [x]):
WordPress Environment
The text was updated successfully, but these errors were encountered: