Clarify SESSION_SECRET usage in setup instructions

This commit is contained in:
Jo Eskil
2025-11-14 00:26:25 +01:00
parent 8e713ec506
commit 6a50156ca8

View File

@@ -34,7 +34,7 @@ This document provides instructions to set up and test the MultiChat Overlay app
* `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.**
* `SESSION_SECRET`: A very long, random, and secure string for session encryption. Generate this once and keep it consistent. **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`.