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
From the course: Extending Laravel with First Party Packages
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…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
The course overview6m 38s
-
(Locked)
Configuration and installation of Socialite10m 22s
-
(Locked)
How social sign-on works10m 49s
-
(Locked)
Socialite controller and model setup13m 27s
-
(Locked)
Logging in existing users and creating new ones14m 57s
-
(Locked)
Building the FindOrCreateUser method16m
-
Set up Facebook sign-on10m 36s
-
(Locked)
Set up Twitter sign-on5m 31s
-
Using other social providers for social login11m 18s
-
-
-
-