daniel-de-wit / lighthouse-sanctum

Laravel Sanctum support for Laravel Lighthouse
MIT License
57 stars 9 forks source link

session does not seem to work for logged in graphql user #75

Closed LiamKarlMitchell closed 2 years ago

LiamKarlMitchell commented 2 years ago

Wanting to store stuff in session and get it out again in custom mutators/resolvers..

But it seems like every time I read the session data it is not set. How can I enable laravel sessions for the token?

daniel-de-wit commented 2 years ago

This package only supports using the API Token Authentication of Laravel Sanctum.