vendredi 2 août 2019

Google API is not working for multi auth in laravel

I am using laravel socialite for multi authentication System. There is only one OAuth credentials for type of user in config/services.php. How I can new OAuth for another type of user.

I tried to put if else condition but it doesn't work.

'google' => [
   'client_id' =>   '749745542656-qai4sb3os6t0j60r435dv3h76p96lg8.apps.googleusercontent.com',
   'client_secret' => 'VkKuUDruJTllRbJ3mN0MGMhn', //
   'redirect' => 'http://localhost:8000/login/google/callback',
],

I want to add new OAuth for another type of user.



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire