dimanche 19 juin 2016

How to add scopes to LinkedIn provider class in Laravel socialite without touching vendors folder?

I have connected LinkedIn using Laravel socialite but I need extra scopes than the default ones shipped with the socialite package like protected 'rw_company_admin'.

Laravel ships with protected $scopes = ['r_basicprofile', 'r_emailaddress']; in the LinkedInProvider.php file in /vendor/laravel/socialite/src/Two.

How can I add my additional scopes without touching the vendors folder?



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire