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.
Set up Twitter sign-on
From the course: Extending Laravel with First Party Packages
Set up Twitter sign-on
- [Instructor] Alright, guys, hopefully you really enjoyed setting up Facebook. Facebook was one of the slightly more complicated ones, but the process to set up other social providers is largely the same as we start setting these up. We don't really need to change the code, we're just gonna change a few settings for our API keys and so forth, and we're good to go. Now, in this video, we're going to be setting up another service provider, we're gonna be setting up Twitter. There's one little gotcha with Twitter which is why I wanted do a quick little video on Twitter and then that'll also kind of reinstill the process of setting up more service providers for you, and you can just start setting up tons of service providers by the time we're done with this video. So, in this video, we're going to go over to Twitter and create a new app in Twitter, just like we did with Facebook. We're going to get the API keys there, the Consumer_key and the Consumer_secret fields. Again, remember I…
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
-
-
-
-