When performing a request to a site that uses plain permalinks (i.e. http://site/?p=123) the request fails returning "Sorry, you are not allowed to create posts as this user."
Fetching and validating the JWT token does work.
I have changed the route in this case from "wp-json/" to "?rest_route=/" as documented in the wordpress documentation, but the problem persists.
When testing the same site with the same configuration except the default permalinks it works.
When performing a request to a site that uses plain permalinks (i.e. http://site/?p=123) the request fails returning "Sorry, you are not allowed to create posts as this user."
Fetching and validating the JWT token does work.
I have changed the route in this case from "wp-json/" to "?rest_route=/" as documented in the wordpress documentation, but the problem persists.
When testing the same site with the same configuration except the default permalinks it works.