1

We have a mobile app for magento 2 which we communicate with magento 2 server using Rest api.

Our intent is to get customer access token by below request

https://magento.host/index.php/rest/V1/integration/customer/token/
Post request
body 
{
    "username":"user12@ymail.com",
    "password":"user123"
}
Response
{
    "message": "You did not sign in correctly or your account is temporarily disabled."
}

The issue is not for all users only for a few users.One of which is our demo user account. We can't find any difference between working accounts and nonworking accounts. Using same credentials we able to login in front end without any issues. The issue is when trying via rest api.

1 Answer 1

0

Check table oauth_token_request_log for locked users. This is a know issue. Source: https://magento.stackexchange.com/a/317539/5827

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.