Fix Twitch OAuth redirect URI and update setup instructions

This commit is contained in:
Jo Eskil
2025-11-14 00:23:03 +01:00
parent b1b7759e13
commit 562e7792e9
3 changed files with 44 additions and 1 deletions

View File

@@ -31,7 +31,7 @@ This document provides instructions to set up and test the MultiChat Overlay app
## 3. Configure Twitch API Credentials
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/twitch/callback.php` (or `http://localhost:PORT/auth/twitch/callback.php` if you're using a different port for your PHP server).
* Set the **OAuth Redirect URLs** to `http://localhost/auth.php` (or `http://localhost:PORT/auth.php` if you're using a different port for your PHP server).
2. **Get Client ID and Secret:** Note down your Client ID and generate a Client Secret.
3. **Update `php/config.php`:** Open `/home/joe/MultiChatOverlay/php/config.php` and update the `TWITCH_CLIENT_ID`, `TWITCH_CLIENT_SECRET`, and `TWITCH_REDIRECT_URI` constants with your application's credentials.