Skip to content
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

[10.x] - SESSION_DRIVER to database doesn't allow to login via Jetstream & Sanctum #48153

Closed
RSickenberg opened this issue Aug 23, 2023 · 3 comments

Comments

@RSickenberg
Copy link

Laravel Version

10.20.0

PHP Version

8.2.9

Database Driver & Version

MySQL 8 (docker)

Description

When I try to login if:

  • SESSION_DRIVER is set to database
  • Jetstream & Sanctum is installed.
  • The app is run by Sail

The user is not able to log in except if the remember is checked.

Steps To Reproduce

https://github.com/RSickenberg/flywithme (Demo project / proof of concept)

@RSickenberg RSickenberg changed the title [10.x] - SESSION_DRIVER to database doesn't allow to login via *Jetstream* & *Sanctum* [10.x] - SESSION_DRIVER to database doesn't allow to login via **Jetstream** & **Sanctum** Aug 23, 2023
@RSickenberg RSickenberg changed the title [10.x] - SESSION_DRIVER to database doesn't allow to login via **Jetstream** & **Sanctum** [10.x] - SESSION_DRIVER to database doesn't allow to login via Jetstream & Sanctum Aug 23, 2023
@crynobone
Copy link
Member

Hey there, thanks for reporting this issue.

We'll need more info and/or code to debug this further. Can you please create a repository with the command below, commit the code that reproduces the issue as one separate commit on the main/master branch and share the repository here?

Please make sure that you have the latest version of the Laravel installer in order to run this command. Please also make sure you have both Git & the GitHub CLI tool properly set up.

laravel new bug-report --github="--public"

Do not amend and create a separate commit with your custom changes. After you've posted the repository, we'll try to reproduce the issue.

Thanks!

@RSickenberg
Copy link
Author

Hello @crynobone,

I tried to reproduce the issue but for some reasons I'm not 100% fully able to carbon copy my demo into a new project.

Let me try it, standby.

@crynobone
Copy link
Member

Hey there,

We're closing this issue because it's inactive, already solved, old, or not relevant anymore. Feel free to open up a new issue with reproducing repository if you're still experiencing this problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants