Spotify credentials#
คุณสามารถใช้ credentials นี้เพื่อยืนยันตัวตนกับ node ต่อไปนี้:
Supported authentication methods#
- OAuth2
Related resources#
ดูข้อมูลเพิ่มเติมเกี่ยวกับบริการนี้ได้ที่ Spotify's Web API documentation
Using OAuth2#
หมายเหตุสำหรับผู้ใช้ n8n Cloud
ผู้ใช้ Cloud ไม่จำเป็นต้องให้รายละเอียดการเชื่อมต่อ เลือก Connect my account เพื่อเชื่อมต่อผ่านเบราว์เซอร์ของคุณ
ถ้าคุณ self-hosting n8n คุณจะต้องมีบัญชี Spotify Developer เพื่อสร้าง Spotify app:
- เปิด Spotify developer dashboard
- เลือก Create an app
- กรอก App name เช่น
n8n integration
- กรอก App description
- คัดลอก OAuth Redirect URL จาก n8n แล้วนำไปใส่ใน Redirect URI ของ Spotify app
- ติ๊กถูกเพื่อยอมรับ Spotify Terms of Service และ Branding Guidelines
- กด Create จะเข้าสู่หน้า App overview
- คัดลอก Client ID แล้วนำไปใส่ใน n8n credential
- คัดลอก Client Secret แล้วนำไปใส่ใน n8n credential
- กด Connect my account แล้วทำตามขั้นตอนบนหน้าจอเพื่อ authorize credential
ดูข้อมูลเพิ่มเติมได้ที่ Spotify Apps