Skip to content

Implement session based authentication with Sanctum - #9

Draft
spawnia wants to merge 19 commits into
masterfrom
sanctum
Draft

spawnia wants to merge 19 commits into
masterfrom
sanctum

Conversation

@spawnia

@spawnia spawnia commented Jul 6, 2020

Copy link
Copy Markdown
Collaborator

Not planning to merge into master, this PR is open just for discussion.

Comment thread config/auth.php Outdated
Comment thread config/sanctum.php Outdated
Comment thread graphql/schema.graphql
Comment thread app/Http/Kernel.php Outdated
Comment thread config/lighthouse.php Outdated
Comment thread app/GraphQL/Mutations/Login.php Outdated
Comment thread app/GraphQL/Mutations/Login.php Outdated
@spawnia

spawnia commented Jul 7, 2020

Copy link
Copy Markdown
Collaborator Author

Thanks for the thorough review @dlindenkreuz, I think we are making good progress towards an optimal and minimal solution.

Comment thread app/GraphQL/Mutations/Login.php Outdated
spawnia added 2 commits June 10, 2022 10:19
# Conflicts:
#	composer.json
#	composer.lock
#	config/lighthouse.php
@spawnia spawnia added the enhancement New feature or request label Jun 10, 2022
# Conflicts:
#	app/Http/Kernel.php
#	composer.json
#	composer.lock
#	config/app.php
#	config/auth.php
# Conflicts:
#	composer.json
#	composer.lock
Drop the stale published sanctum and session configs in favor of package defaults.
Republish the laravel-graphiql v4 view and send the CSRF token from the XSRF-TOKEN cookie,
since login regenerates it.
Register EnsureFrontendRequestsAreStateful first, as the Lighthouse docs recommend.

🤖 Generated with Claude Code
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants