New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Graphql login does not return token #56
Comments
Please use the issue template. |
I got the same issue |
Hi @udemezue01 and @Instrumedley , please give us more details regarding the issue and modify the body of the message.
|
actually I solved this issue yesterday. In my situation it was a matter of this Now my issue is that I don't seem to be able to use protected queries correctly, so I posted a new question here |
Thanks for your answer @Instrumedley ! I'm closing the issue. |
After requesting: I'm getting: When I log in to the admin with these credentials everything works fine. Help? |
I have a custom user class that looks like that: |
When I try to log in and it does not return a JSON Token
mutation {
tokenAuth(email: "johnzeus14@gmail.com", password: "oldskool123") {
success,
errors,
unarchiving,
token,
refreshToken,
unarchiving,
}
}
{
"data": {
"tokenAuth": {
"success": false,
"errors": {
"nonFieldErrors": [
{
"message": "Please, enter valid credentials.",
"code": "invalid_credentials"
}
]
},
"unarchiving": false,
"token": null
}
}
}
The text was updated successfully, but these errors were encountered: