Update services.php

This commit is contained in:
Julian Prieber 2022-11-14 11:17:51 +01:00
parent 42069cce03
commit ce627e9a54
1 changed files with 3 additions and 8 deletions

View File

@ -1,10 +1,5 @@
<?php
// Social login
$facebook = url('/social-auth/facebook/callback');
$twitter = url('/social-auth/twitter/callback');
$google = url('/social-auth/google/callback');
return [
/*
@ -38,17 +33,17 @@ return [
'facebook' => [
'client_id' => env('FACEBOOK_CLIENT_ID'),
'client_secret' => env('FACEBOOK_CLIENT_SECRET'),
'redirect' => env('FACEBOOK_CALLBACK_URL', $facebook),
'redirect' => env('FACEBOOK_CALLBACK_URL'),
],
'twitter' => [
'client_id' => env('TWITTER_CLIENT_ID'),
'client_secret' => env('TWITTER_CLIENT_SECRET'),
'redirect' => env('TWITTER_CALLBACK_URL', $twitter),
'redirect' => env('TWITTER_CALLBACK_URL'),
],
'google' => [
'client_id' => env('GOOGLE_CLIENT_ID'),
'client_secret' => env('GOOGLE_CLIENT_SECRET'),
'redirect' => env('GOOGLE_CALLBACK_URL', $google),
'redirect' => env('GOOGLE_CALLBACK_URL'),
],
];