I have a multi site Magento installation we do not share login per website. We have 2 websites under the same domain each with separate store views.
If you create and account on the second store view I'm enabled to via graphql login customer using generateCustomerToken. Am I missing something this doesn't work?
mutation generateCustomerToken($email: String!, $password: String!) {
generateCustomerToken(email: $email, password: $password) {
token
}
}
Error:
{
"errors": [
{
"message": "The account sign-in was incorrect or your account is disabled temporarily. Please wait and try again later.",
"locations": [
{
"line": 2,
"column": 7
}
],
"path": [
"generateCustomerToken"
],
"extensions": {
"category": "graphql-authentication"
}
}
],
"data": {
"generateCustomerToken": null
}
}
However I can login fine via the website store view url.