tenant admin startseite schicker gestaltet und super-admin und tenant admin (filament) aufgesplittet.
Es gibt nun task collections und vordefinierte tasks für alle. Onboarding verfeinert und webseite-carousel gefixt (logging später entfernen!)
This commit is contained in:
@@ -43,4 +43,27 @@ return [
|
||||
'sandbox' => env('PAYPAL_SANDBOX', true),
|
||||
],
|
||||
|
||||
'oauth' => [
|
||||
'tenant_admin' => [
|
||||
'id' => env('VITE_OAUTH_CLIENT_ID', 'tenant-admin-app'),
|
||||
'redirects' => (function (): array {
|
||||
$redirects = [];
|
||||
|
||||
$devServer = env('VITE_DEV_SERVER_URL');
|
||||
$redirects[] = rtrim($devServer ?: 'http://localhost:5173', '/') . '/event-admin/auth/callback';
|
||||
|
||||
$appUrl = env('APP_URL');
|
||||
if ($appUrl) {
|
||||
$redirects[] = rtrim($appUrl, '/') . '/event-admin/auth/callback';
|
||||
} else {
|
||||
$redirects[] = 'http://localhost:8000/event-admin/auth/callback';
|
||||
}
|
||||
|
||||
$extra = array_filter(array_map('trim', explode(',', (string) env('TENANT_ADMIN_OAUTH_REDIRECTS', ''))));
|
||||
|
||||
return array_values(array_unique(array_filter(array_merge($redirects, $extra))));
|
||||
})(),
|
||||
],
|
||||
],
|
||||
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user