From the course: Extending Laravel with First Party Packages

Unlock this course with a free trial

Join today to access over 22,600 courses taught by industry experts.

Socialite controller and model setup

Socialite controller and model setup

- [Instructor] Alright guys. Hopefully the last video helped clear up what happens during the social sign in process. That process, that OAUTH process, happens every time we log a user in, but, luckily, Laravel Socialite is gonna make that process a whole lot simpler. You do not have to remember every last step because Laravel Socialite's gonna handle a lot of that for you, and we're just gonna pick up in a few important elements. Now there are still some important things that we have to manage our own, and one of those is storing the information for social accounts, and that's we'll be focusing on in this video is creating the models, and controllers necessary to store those social accounts into the database, and linking them to the user accounts that we have for authentication. So that's what we workin' on this video. We're gonna create controllers, and models that are going to be used together to manage our social networks. So when someone creates a new login we're gonna store that…

Contents