Category: Laravel, PHP, api

Please consider supporting us by just disabling your AD BLOCKER and reloading this page again. In this article, we will implement GitHub login with PHP Laravel Socialite package.

oAuth Application Form oAuth Credentials - Once you click on register application GitHub will validate your form and redirect to oAuth Credentials page where you will be able to get the GitHub Client ID & GitHub Client Secret

AuthController@socialProviderCallback [/auth/github/callback]- This route method will be the one which will be called back after the authentication is successful from GitHub and we will see how to register the user.

When you run the application in website with the following url, it will take to GitHub verification page
Newsletter

Get the latest Laravel/PHP jobs, events and curated articles straight to your inbox, once a week

Fathom Analytics | Fast, simple and privacy-focused website analytics. Fathom Analytics | Fast, simple and privacy-focused website analytics.
Achieve superior email deliverability with ToastMail! Our AI-driven tool warms up inboxes, monitors reputation, and ensures emails reach their intended destination. Sign up today for a spam-free future. Achieve superior email deliverability with ToastMail! Our AI-driven tool warms up inboxes, monitors reputation, and ensures emails reach their intended destination. Sign up today for a spam-free future.
Community Partners