Fix Frontdesk branding on SSO error pages and document SSO secret handling.
Deploy Ladill Frontdesk / deploy (push) Successful in 34s
Deploy Ladill Frontdesk / deploy (push) Successful in 34s
Use signed_out config for auth error views instead of hardcoded Ladill CRM assets left from the CRM template. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -40,6 +40,9 @@ php artisan config:cache
|
||||
Copy `.env.example`, set `APP_KEY` (`php artisan key:generate --show`), DB creds, SSO
|
||||
client id/secret, billing + identity keys, and `SERVICE_EVENTS_INBOUND_SECRET`.
|
||||
|
||||
**SSO secret:** use the plain-text value printed once by `passport:client` — never copy
|
||||
`oauth_clients.secret` from the database (Passport stores a bcrypt hash there).
|
||||
|
||||
## 5. nginx + TLS
|
||||
|
||||
```bash
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
@php
|
||||
$signedOut = (array) config('signed_out');
|
||||
$logo = (string) ($signedOut['logo'] ?? 'images/logo/ladillcrm-logo.svg');
|
||||
$logo = (string) ($signedOut['logo'] ?? 'images/logo/ladillfrontdesk-logo.svg');
|
||||
$logoPath = public_path($logo);
|
||||
@endphp
|
||||
<!DOCTYPE html>
|
||||
|
||||
@@ -1,14 +1,21 @@
|
||||
@php
|
||||
$signedOut = (array) config('signed_out');
|
||||
$logo = (string) ($signedOut['logo'] ?? 'images/logo/ladillfrontdesk-logo.svg');
|
||||
$title = (string) ($signedOut['title'] ?? config('app.name'));
|
||||
$logoPath = public_path($logo);
|
||||
@endphp
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<title>Sign-in problem · Ladill CRM</title>
|
||||
<title>Sign-in problem · {{ $title }}</title>
|
||||
@include('partials.favicon')
|
||||
@vite(['resources/css/app.css'])
|
||||
</head>
|
||||
<body class="flex min-h-screen items-center justify-center bg-slate-50 font-sans text-slate-900 antialiased">
|
||||
<div class="mx-auto max-w-md px-6 text-center">
|
||||
<img src="{{ asset('images/logo/ladillcrm-logo.svg') }}" alt="Ladill CRM" class="mx-auto h-8 w-auto">
|
||||
<img src="{{ asset($logo) }}?v={{ @filemtime($logoPath) ?: '1' }}" alt="{{ $title }}" class="mx-auto h-8 w-auto">
|
||||
<h1 class="mt-6 text-xl font-semibold">We couldn't sign you in</h1>
|
||||
<p class="mt-2 text-sm text-slate-500">
|
||||
Sign-in didn't complete after a few tries. This is usually a temporary
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
<p style="margin-top:24px;font-size:13px;color:#64748b;">— {{ $fromName }}</p>
|
||||
@endif
|
||||
</div>
|
||||
<p style="margin-top:16px;text-align:center;font-size:11px;color:#94a3b8;">Sent via Ladill CRM</p>
|
||||
<p style="margin-top:16px;text-align:center;font-size:11px;color:#94a3b8;">Sent via Ladill Frontdesk</p>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user