Open SuciuPatrick opened 4 years ago
So I think I found the issue. I am using that register_mutation_fields because I wanted to remove the username, but if I remove that, it works.
GRAPHQL_AUTH = {
'LOGIN_ALLOWED_FIELDS': ['email'],
'USER_NODE_EXCLUDE_FIELDS': ["password"],
'REGISTER_MUTATION_FIELDS': {
"email": "String",
},
}
no Is it a bug? no Is it a new feature? yes Is it a a question? yes Can you reproduce the problem? yes Are you running the latest version? yes Did you check for similar issues? yes Did you perform a cursory search?
Hey Guys,
Whenever I'm trying to call the register mutation I receive this "Please, enter valid credentials". From what it seems, I think the issue comes from the fact that on register it tries to call register_on_login which requires a token.