@fbmfbm First, you have to create the user model when the purchase is made. To log in the user automatically, simply do:
Auth::login($user);
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
Hi All, in laravel 8 project with jetstream team and Cashier for Strip management, i would like to auto login user on first command. Laravel user is created with shopping email. How to auto connecte it in front without to ask password creation ? I know that the Auth::user() helper can force login the user on back but how to update the front in jetstream ? Do i need to create a session and update it after checkout ? thank's for your help !!
Please or to participate in this conversation.