Invalid username and password combination
-
Hi,
When I use this help:
https://wp-oauth.com/documentation/grant-types/user-credentials/inside the program I’m making, it gives the correct response including token.
But I need to use variables to get dynamic user input values, here is when the error is shown:
{"error":"invalid_grant","error_description":"Invalid username and password combination"}
This is the code I use inside programming interface:
grant_type=password&username=#username&password=#password&client_id=#client_id&client_secret=#client_secret
Using output to show the result of the command, it correctly shows the values.
Even in POSTMAN with static parameters, the command works, but POSTMAN doesn’t work with dynamic values and variables.
Any clue why this happens?
Thanks a lot.
- The topic ‘Invalid username and password combination’ is closed to new replies.