Emphasize filling in Twitch API credentials and session secret in config.php
This commit is contained in:
@@ -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`.
|
||||
|
||||
Reference in New Issue
Block a user