joselfonseca / lighthouse-graphql-passport-auth

Add GraphQL mutations to get tokens from passport for https://lighthouse-php.com/
https://lighthouse-php-auth.com/
MIT License
229 stars 56 forks source link

Cannot use login mutation #84

Closed hamitg closed 4 years ago

hamitg commented 4 years ago

I cannot use login mutation, it gives the following errors Screen Shot 2020-04-28 at 11 14 19 Screen Shot 2020-04-28 at 11 15 05

joselfonseca commented 4 years ago

That is because the argument is input not data

https://github.com/joselfonseca/lighthouse-graphql-passport-auth/blob/master/graphql/auth.graphql#L90