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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.