Closed M7MMAD-OMAR closed 3 months ago
The same error when I tried to use the #import directive to include the auth.graphql in schema.graphql. I solved the problem following the intructions to edit the files schema.graphql and auth.graphql as described in https://lighthouse-php-auth.com/tutorials/getting-started/
Okay, thank you. Do the tools work well for you? Like resetting the password and other available functions?
and VerifyEmail is work ?
All functions works. Take into account that both, forgotPassword and verifyEmail, requires more coding to complete the functionality: See https://lighthouse-php-auth.com/docs/usage/#email-verification. I understand better how every mutation works looking at the tests https://github.com/joselfonseca/lighthouse-graphql-passport-auth/tree/master/tests/Integration/GraphQL/Mutations)
{ "errors": [ { "message": "Internal server error", "extensions": { "debugMessage": "Duplicate definition login found when merging.", "file": "R:\NewProjects\PhpstormProjects\University-Selector-Back-End-API\vendor\nuwave\lighthouse\src\Schema\AST\ASTHelper.php", "line": 74, "trace": [