From eb1178ef87466108db7b231eb4643a746b074a4e Mon Sep 17 00:00:00 2001 From: isaacclad Date: Sat, 27 Jun 2026 20:55:49 +0000 Subject: [PATCH] Fix Frontdesk branding on SSO error pages and document SSO secret handling. Use signed_out config for auth error views instead of hardcoded Ladill CRM assets left from the CRM template. Co-authored-by: Cursor --- DEPLOY.md | 3 +++ resources/views/auth/signed-out.blade.php | 2 +- resources/views/auth/sso-error.blade.php | 11 +++++++++-- resources/views/email/contact-message.blade.php | 2 +- 4 files changed, 14 insertions(+), 4 deletions(-) diff --git a/DEPLOY.md b/DEPLOY.md index 30c3662..96dde61 100644 --- a/DEPLOY.md +++ b/DEPLOY.md @@ -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 diff --git a/resources/views/auth/signed-out.blade.php b/resources/views/auth/signed-out.blade.php index 5b7f6a2..adbca09 100644 --- a/resources/views/auth/signed-out.blade.php +++ b/resources/views/auth/signed-out.blade.php @@ -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 diff --git a/resources/views/auth/sso-error.blade.php b/resources/views/auth/sso-error.blade.php index 3979643..95af715 100644 --- a/resources/views/auth/sso-error.blade.php +++ b/resources/views/auth/sso-error.blade.php @@ -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 - Sign-in problem · Ladill CRM + Sign-in problem · {{ $title }} + @include('partials.favicon') @vite(['resources/css/app.css'])
- Ladill CRM + {{ $title }}

We couldn't sign you in

Sign-in didn't complete after a few tries. This is usually a temporary diff --git a/resources/views/email/contact-message.blade.php b/resources/views/email/contact-message.blade.php index e06167d..3cb5cc9 100644 --- a/resources/views/email/contact-message.blade.php +++ b/resources/views/email/contact-message.blade.php @@ -12,7 +12,7 @@

— {{ $fromName }}

@endif
-

Sent via Ladill CRM

+

Sent via Ladill Frontdesk