In this tutorial, Matt Stauffer shows you how to implement Laravel Socialite and Github as a login system:
Laravel’s Socialite package makes it simple to authenticate your users to Facebook, Twitter, Google, LinkedIn, GitHub and Bitbucket. You can authenticate them for the purpose of connecting their pre-existing user account to a third-party service, but you can also use it as your primary login mechanism, which we’ll be talking about here.
He starts off covering the basics of oAuth, and leads into the installation, creating a Github app, and then the controller setup, database, and routes. He also mentions Adam Wathan’s Eloquent oAuth Package as a good choice if you only want the “login”.
Join the weekly newsletter and never miss out on new tips, tutorials, and more.
- Software Engineer Lead (PHP)
- Full-time Senior Web Developer
Wayne State University
- Senior Software Engineer
- Full Stack Engineer
Remote or Medford, Oregon
- Laravel Developer (fulltime - Dutch only)
Qbixx | Webservices
- Full Stack or Back-End Developer
Alexandria, VA; Tallahassee, FL; Orlando, FL
Marketing for Change
- Senior Quality Assurance Engineer
Writing your first unit test in Laravel
Christoph Rumpel has a new beginner tutorial on how to write your first Laravel test. Testing is a huge buzzword in t…
Setting up Laravel and Vue.js
Russ Weas has created a tutorial on setting up a Laravel project with Vue.js. In this tutorial, he uses Laracasts, Wo…