-
-
Notifications
You must be signed in to change notification settings - Fork 434
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
docs: clarify usage with laravel sanctum, login / logout mutations #1458
Conversation
Co-authored-by: Benedikt Franke <benedikt@franke.tech>
@dlindenkreuz i will try out the suggested changes in https://github.com/nuwave/lighthouse-example and review once i find the time. |
There is substantial amounts of setup that needs to be in place when starting from a bare-bones GraphQL only configuration. Going from your guide, things worked pretty well, but there are also some rough edges that should be smoothed out. Can you give me some feedback on nuwave/lighthouse-example#9, how can that be improved? |
Thanks @dlindenkreuz |
Changes
It's not obvious how to use Laravel Sanctum as a guard. This PR adds docs to clarify usage. Additionally, this PR covers login / logout mutations with an example, also in conjunction with Laravel Sanctum.
As discussed in #1406.
Breaking changes
none