nicumicle/simple-jwt-login

bug: Plugin blocks /wp-json rest api discovery endpoint.

Opened this issue · 1 comments

Bug Report

Plugin Version

3.5.3

PHP Version

8.2

WordPress Version

6.4.3

Bug description

Current behavior:

When the option "protect endpoints" is enabled and "apply only on specific endpoints" is selected; all unauthenticated requests to the /wp-json/ rest api discovery endpoint are blocked by the plugin.

Expected behavior:

The /wp-json endpoint is publicly readable for Wordpress Rest API discovery and not protected/blocked (unless explicitly specified in the simple-jwt-plugin configuration)

Thank you for reporting this bug.
I will look into this.