Build React Native app for wordpress website using JWT-Token REST API
-
My client has wordpress website and he needs to built an react native app using REST API. WordPress website used by many users. I tried to login using admin credentials and I got jwt token back from “/wp-json/api/v1/token” But same url returns below error when a customer/User tried to login
{
“status”: “error”,
“error”: “INVALID_CREDENTIALS”,
“code”: “400”,
“error_description”: “Invalid username or password.”
}Does jwt-token only works for admin user only?
How can all the users of website can login to app as they login to wordpress website?Appreciate any response on this.
The topic ‘Build React Native app for wordpress website using JWT-Token REST API’ is closed to new replies.