Category: Laravel, PHP

Starting a laravel 8 application with jetstream and then passing the login to Google shouldn’t be hard. There should be a github out that there where’s someone’s already done that, that you can just clone and go from there. I didn’t find one, so I made one with a little help from here: https://www.nicesnippets.com/blog/laravel-8-socialite-login-with-google-gmail-account

I had to code it to create a new user and a new team for the new user when they are created from a google login.

After all this, the application allows a user to login with google, get a callback that logs the gmail user into your application, sets a personal team for the user, and enables the dashboard.
Newsletter

Get the latest Laravel/PHP jobs, events and curated articles straight to your inbox, once a week

Glimpse streamlines Laravel development by seamlessly deploying GitHub pull requests to preview environments with the help of Laravel Forge. Glimpse streamlines Laravel development by seamlessly deploying GitHub pull requests to preview environments with the help of Laravel Forge.
Fathom Analytics | Fast, simple and privacy-focused website analytics. Fathom Analytics | Fast, simple and privacy-focused website analytics.
Shirts painstakingly handcrafted by under-caffeinated developers. Shirts painstakingly handcrafted by under-caffeinated developers.
Community Partners