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":"[email protected]",
 "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.

asked Jul 30, 2018 at 10:28

1 Answer 1

1

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

answered Jul 16, 2020 at 14:02

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.