From 8e713ec5064ab83ad88782154c648035d50c23e7 Mon Sep 17 00:00:00 2001 From: Jo Eskil Date: Fri, 14 Nov 2025 00:26:09 +0100 Subject: [PATCH] Emphasize filling in Twitch API credentials and session secret in config.php --- SETUP_AND_TESTING.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/SETUP_AND_TESTING.md b/SETUP_AND_TESTING.md index 3ed1206..118ac2f 100644 --- a/SETUP_AND_TESTING.md +++ b/SETUP_AND_TESTING.md @@ -28,7 +28,13 @@ This document provides instructions to set up and test the MultiChat Overlay app * **Note:** The `-t .` flag tells the server to use the current directory (`php/`) as the document root. This means your application will be accessible at `http://localhost/`. * If port 80 is already in use, you can choose another port (e.g., `php -S localhost:8000 -t .`) and update the `BASE_URL` in `php/config.php` accordingly. -## 3. Configure Twitch API Credentials +## 3. Configure Twitch API Credentials and Application Secrets + +**IMPORTANT:** Before proceeding, you must update the following values in `/home/joe/MultiChatOverlay/php/config.php`: + +* `TWITCH_CLIENT_ID`: Your Twitch application's Client ID. +* `TWITCH_CLIENT_SECRET`: Your Twitch application's Client Secret. +* `SESSION_SECRET`: A very long, random, and secure string for session encryption. **DO NOT use the placeholder value in production.** 1. **Create Twitch Application:** Go to the Twitch Developer Console (dev.twitch.tv/console/apps) and create a new application. * Set the **OAuth Redirect URLs** to `http://localhost/auth.php` for local development. When deploying to your external domain (e.g., `https://multichat.ramforth.net`), you must update this to `https://multichat.ramforth.net/auth.php` in both the Twitch Developer Console and `php/config.php`.