Some help with graphcool email-password auth: I ha...
# prisma-whats-new
k
Some help with graphcool email-password auth: I have setup and application and created a user, I can query the user and see their credentials but when I try to login, all I see is:
Copy code
{
  "data": {
    "authenticateUser": null
  }
}
m
are you using the online interface/GUI?
or the framework?
@Kimo
k
Yes @max
m
@Kimo yes to which one?
k
I setup the framework myself using Graphcool CLI
I thought you were asking about the browser Playground vs desktop playground @max
Copy code
{
  "data": {
    "authenticateUser": null
  },
  "errors": [
    {
      "locations": [
        {
          "line": 19,
          "column": 3
        }
      ],
      "functionError": "Invalid credentials!",
      "path": [
        "authenticateUser"
      ],
      "code": 5001,
      "message": "function execution error: Invalid credentials!",
      "requestId": "eu-west-1:simple:cjdd9x1r51xkj0176veu3xlia"
    }
  ]
}
m
@Kimo sounds like your password is wrong. What does your authenticateUser mutation look like?
k
@max I managed to solve the problem. So there's
signUp
mutation and
createUser
mutation. I followed a tutorial that used
createUser
and apparently that's wrong.
👍 2