[object Object]

← back to Rentv 2026

George draft auth: try Basic <GEORGE_AUTH> (secrets-master value)

c5edf510abef11cce4f484787f6eafa51373c654 · 2026-08-05 11:36:16 -0700 · steve

Files touched

Diff

commit c5edf510abef11cce4f484787f6eafa51373c654
Author: steve <steve@designerwallcoverings.com>
Date:   Wed Aug 5 11:36:16 2026 -0700

    George draft auth: try Basic <GEORGE_AUTH> (secrets-master value)
---
 server.js | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/server.js b/server.js
index fe435185..e498b81d 100644
--- a/server.js
+++ b/server.js
@@ -502,10 +502,10 @@ app.post('/api/content/find-image', adminOnly, async (req, res) => {
 // ── Content Studio: email the full assembled post to Boom via George ────────────
 const GEORGE_URL = process.env.GEORGE_URL || 'http://127.0.0.1:9850';
 const GEORGE_BASIC_AUTH = process.env.GEORGE_BASIC_AUTH || '';
-// George uses Basic auth; sbloom@rentv.com is EXTERNAL so George also needs the human-approval
-// token in the X-Send-Approval header (else it fail-closed blocks the send).
-const GEORGE_HDR = GEORGE_BASIC_AUTH ? 'Basic ' + GEORGE_BASIC_AUTH : '';
-const GEORGE_SEND_APPROVAL = process.env.GEORGE_EXTERNAL_SEND_TOKEN || '';
+const GEORGE_AUTH = process.env.GEORGE_AUTH || ''; // canonical basic-auth value from the secrets master
+// George requires a "Basic <b64>" header. Prefer the secrets-master GEORGE_AUTH as that base64;
+// fall back to GEORGE_BASIC_AUTH. Draft-creation needs no external-send token.
+const GEORGE_HDR = (GEORGE_AUTH || GEORGE_BASIC_AUTH) ? 'Basic ' + (GEORGE_AUTH || GEORGE_BASIC_AUTH) : '';
 const BOOM_EMAIL = process.env.BOOM_EMAIL || 'sbloom@rentv.com';
 app.post('/api/content/email', adminOnly, async (req, res) => {
   const b = req.body || {};

← b1efd88a Content Studio: Email-to-Boom now creates a Gmail DRAFT in s  ·  back to Rentv 2026  ·  auto-save: 2026-08-05T11:41:42 (3 files) — data/markets.json c3c9f6ba →