you can change this currently while they make this change like this:
wp-content/plugins/jwt-authentication-for-wp-rest-api/public/class-jwt-auth-public.php:
register_rest_route($this->namespace, 'token', [
'methods' => 'POST',
'callback' => [ $this, 'generate_token' ],
'permission_callback' => '__return_true'
] );
register_rest_route($this->namespace, 'token/validate', [
'methods' => 'POST',
'callback' => [ $this, 'validate_token' ],
'permission_callback' => '__return_true'
] );
from line 75 to 85
Hope this helps, worked for me.
I’m trying to make a PR for this, but not sure where!
The fix works. Would be great if this can be published in the next release!
This issue was addressed in the latest updates