support secrets

Guide for support secrets

Required Secrets for Support Ticket System

To fully enable the integrations for the Support Ticket System, the following secrets must be set in the loh-cf-workers/account-api environment.

Secrets

Secret KeyDescriptionService
RESEND_API_KEYAPI Key for sending emails via Resend.Resend (Email)
DISCORD_WEBHOOK_URLWebhook URL for the #support-tickets channel.Discord
RECAPTCHA_SECRET_KEYServer-side secret key for verifying ReCAPTCHA tokens.Google reCAPTCHA Enterprise

How to Set

Run the following commands in loh-cf-workers/account-api:
npx wrangler secret put RESEND_API_KEY
npx wrangler secret put DISCORD_WEBHOOK_URL
npx wrangler secret put RECAPTCHA_SECRET_KEY

How to Test Integrations (Future)

Once secrets are set:
  1. Update src/handlers/tickets.ts to uncomment the real integration calls.
  2. Remove the [Mock] console logs.