Hi,
I noticed that when I install and access the plugin, it shows the following warning:
Notice: Function register_rest_route was called incorrectly. The REST API route definition for simple-jwt-authentication/v1/token is missing the required permission_callback argument. For REST API routes that are intended to be public, use __return_true as the permission callback. Please see Debugging in WordPress for more information. (This message was added in version 5.5.0.) in C:\wamp\www\woo2\wp-includes\functions.php on line 5865
I have also figured out the solution for this. The solution is to add 'permission_callback' => '__return_true', argument. Following is the complete solution to be implemented in the following file:
wp-content/plugins/simple-jwt-authentication-master/includes/class-simple-jwt-authentication-rest.php
Hi, I noticed that when I install and access the plugin, it shows the following warning:
Notice: Function register_rest_route was called incorrectly. The REST API route definition for simple-jwt-authentication/v1/token is missing the required permission_callback argument. For REST API routes that are intended to be public, use __return_true as the permission callback. Please see Debugging in WordPress for more information. (This message was added in version 5.5.0.) in C:\wamp\www\woo2\wp-includes\functions.php on line 5865
I have also figured out the solution for this. The solution is to add
'permission_callback' => '__return_true',
argument. Following is the complete solution to be implemented in the following file:wp-content/plugins/simple-jwt-authentication-master/includes/class-simple-jwt-authentication-rest.php
I hope you will be able to add the above fix in your next update.
Thank you.