Update services.php

This commit is contained in:
Julian Prieber 2022-11-12 14:02:22 +01:00
parent 522f8d0574
commit 186af086b7
1 changed files with 9 additions and 3 deletions

View File

@ -1,5 +1,10 @@
<?php
// Social login
$facebook = url('/social-auth/facebook/callback');
$twitter = url('/social-auth/twitter/callback');
$google = url('/social-auth/google/callback');
return [
/*
@ -29,20 +34,21 @@ return [
'secret' => env('AWS_SECRET_ACCESS_KEY'),
'region' => env('AWS_DEFAULT_REGION', 'us-east-1'),
],
'facebook' => [
'client_id' => env('FACEBOOK_CLIENT_ID'),
'client_secret' => env('FACEBOOK_CLIENT_SECRET'),
'redirect' => env('FACEBOOK_CALLBACK_URL'),
'redirect' => env('FACEBOOK_CALLBACK_URL', $facebook),
],
'twitter' => [
'client_id' => env('TWITTER_CLIENT_ID'),
'client_secret' => env('TWITTER_CLIENT_SECRET'),
'redirect' => env('TWITTER_CALLBACK_URL'),
'redirect' => env('TWITTER_CALLBACK_URL', $twitter),
],
'google' => [
'client_id' => env('GOOGLE_CLIENT_ID'),
'client_secret' => env('GOOGLE_CLIENT_SECRET'),
'redirect' => env('GOOGLE_CALLBACK_URL'),
'redirect' => env('GOOGLE_CALLBACK_URL', $google),
],
];