Create a login system with Github and Socialite

Github Socialite

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”.

Visit Resource →


Filed in: Laravel Tutorials / Socialite


Newsletter

Join the weekly newsletter and never miss out on new tips, tutorials, and more.

Laravel News Partners

Laravel Jobs

Full Stack Developer (Laravel/Vue.JS)
London, UK or Remote (UK only)
hullo Ltd
Senior Web Developer
San Diego, CA
Platform Science
Laravel Developer
San Jose, CA
X3 Builders
Lead Front End Developer
Remote
continued
Full-Stack Laravel Developer
Cologne
Revive Interior
Intermediate PHP Developer (Full Stack | CakePHP | Laravel | Vue | jQuery)
Remote
continued
Senior PHP Developer (Full Stack | CakePHP | Laravel | Vue | jQuery)
Remote
continued