PHPackages                             overtrue/laravel-socialite - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Authentication &amp; Authorization](/categories/authentication)
4. /
5. overtrue/laravel-socialite

ActiveLibrary[Authentication &amp; Authorization](/categories/authentication)

overtrue/laravel-socialite
==========================

Social OAuth authentication for Laravel 5.

4.1.0(2y ago)3441.3M↓47.9%473MITPHPCI failing

Since Dec 13Pushed 2y ago7 watchersCompare

[ Source](https://github.com/overtrue/laravel-socialite)[ Packagist](https://packagist.org/packages/overtrue/laravel-socialite)[ GitHub Sponsors](https://github.com/overtrue)[ RSS](/packages/overtrue-laravel-socialite/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (6)Versions (12)Used By (3)

Laravel Socialite
=================

[](#laravel-socialite)

[![Laravel Octane Ready Status](https://camo.githubusercontent.com/1c218651cdc2c4d1b4e72a61bf34ce269474c7322d1e463f615e513789626afa/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4f6374616e63652d72656164792d677265656e3f7374796c653d666c61742d737175617265)](https://camo.githubusercontent.com/1c218651cdc2c4d1b4e72a61bf34ce269474c7322d1e463f615e513789626afa/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4f6374616e63652d72656164792d677265656e3f7374796c653d666c61742d737175617265)[![GitHub release (latest SemVer)](https://camo.githubusercontent.com/09d1e9d26d8d2ed62aba8f31c6ec6793fcf26bb3a5716680aa433fedf3487ae4/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f762f72656c656173652f6f766572747275652f6c61726176656c2d736f6369616c6974653f7374796c653d666c61742d737175617265)](https://camo.githubusercontent.com/09d1e9d26d8d2ed62aba8f31c6ec6793fcf26bb3a5716680aa433fedf3487ae4/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f762f72656c656173652f6f766572747275652f6c61726176656c2d736f6369616c6974653f7374796c653d666c61742d737175617265)[![GitHub License](https://camo.githubusercontent.com/9370a160ca2767f8fab27fe4c41bcc40a9e6eb514d16da9f78221d39a31e2767/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f6f766572747275652f6c61726176656c2d736f6369616c6974653f7374796c653d666c61742d737175617265)](https://camo.githubusercontent.com/9370a160ca2767f8fab27fe4c41bcc40a9e6eb514d16da9f78221d39a31e2767/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f6f766572747275652f6c61726176656c2d736f6369616c6974653f7374796c653d666c61742d737175617265)[![Packagist Downloads](https://camo.githubusercontent.com/0c6af83f7ddac5c984169aa837c62fe6280f31d4771287f6fa5473be945b0ab3/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6f766572747275652f6c61726176656c2d736f6369616c6974653f7374796c653d666c61742d737175617265)](https://camo.githubusercontent.com/0c6af83f7ddac5c984169aa837c62fe6280f31d4771287f6fa5473be945b0ab3/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6f766572747275652f6c61726176656c2d736f6369616c6974653f7374796c653d666c61742d737175617265)

[![Sponsor me](https://github.com/overtrue/overtrue/raw/master/sponsor-me-button-s.svg?raw=true)](https://github.com/sponsors/overtrue)

Installation
============

[](#installation)

```
$ composer require "overtrue/laravel-socialite"

```

> if you have been installed the `overtrue/socialite` package, please remove it from `composer.json` before this command.

Configuration
=============

[](#configuration)

1. You will also need to add credentials for the OAuth services your application utilizes. These credentials should be placed in your `config/socialite.php` or `config/services.php` configuration file, and should use the key facebook, twitter, linkedin, google, github or bitbucket, depending on the providers your application requires. For example:

```
