DEV Community

Discussion on: GraphQL Auth with Passport and Lighthouse PHP

Collapse
 
haronur profile image
Haron

mutation {
logout {
status
message
}
}
Dose not works
it throws
{
"errors": [
{
"message": "Not Authenticated",
"extensions": {
"reason": "Not Authenticated",
"category": "authentication"
},
"locations": [
{
"line": 2,
"column": 3
}
],
"path": [
"logout"
],
}