Kapitel 13/Tutorial.md aktualisiert
This commit is contained in:
@@ -347,7 +347,14 @@ Beim Anlegen in n8n → **Credentials → + Add → OAuth2 API**:
|
||||
- **Authentication:** `Body` ← **wichtig, sonst Fehler**
|
||||
- **OAuth Redirect URL:** `https://automation.bratonien.de/rest/oauth2-credential/callback` *(muss in Twitch-App eingetragen sein, auch wenn bei Client Credentials nicht genutzt)*
|
||||
|
||||
Speichern → **Test** → sollte „Connected“ anzeigen.
|
||||
Speichern.
|
||||
|
||||
**Prüfen (kein „Test“-Button bei Client Credentials):**
|
||||
1. Lege einen **HTTP Request**-Node an.
|
||||
2. **Authentication:** Predefined Credential Type → wähle dein `Twitch API` Credential.
|
||||
3. **Headers:** `Client-Id: <DEINE_CLIENT_ID>`
|
||||
4. **URL:** `https://api.twitch.tv/helix/users?login=bratonien_tv`
|
||||
5. **Execute Node** → kommt JSON mit `data[0].id`, ist OAuth korrekt.
|
||||
|
||||
---
|
||||
|
||||
@@ -368,7 +375,6 @@ HTTP Request Node:
|
||||
|
||||
**Ergebnis:** JSON mit `data[0].id`, `login`, usw. – dann funktioniert OAuth2 korrekt.
|
||||
|
||||
|
||||
---
|
||||
|
||||
### Schritt 2: Twitch‑User‑ID herausfinden (n8n‑Weboberfläche)
|
||||
|
||||
Reference in New Issue
Block a user