Skip to content

Commit 22f95f5

Browse files
committed
Merge pull request laravel#1576 from murum/patch-2
Update authentication.md
2 parents 02f284e + b16092e commit 22f95f5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

authentication.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -455,12 +455,12 @@ After installing the Socialite library, register the `Laravel\Socialite\Socialit
455455
'providers' => [
456456
// Other service providers...
457457

458-
'Laravel\Socialite\SocialiteServiceProvider',
458+
Laravel\Socialite\SocialiteServiceProvider::class,
459459
],
460460

461461
Also, add the `Socialite` facade to the `aliases` array in your `app` configuration file:
462462

463-
'Socialite' => 'Laravel\Socialite\Facades\Socialite',
463+
'Socialite' => Laravel\Socialite\Facades\Socialite::class,
464464

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

0 commit comments

Comments
 (0)