Skip to content

Spotify credentials#

คุณสามารถใช้ credentials นี้เพื่อยืนยันตัวตนกับ node ต่อไปนี้:

Supported authentication methods#

  • OAuth2

ดูข้อมูลเพิ่มเติมเกี่ยวกับบริการนี้ได้ที่ Spotify's Web API documentation

Using OAuth2#

หมายเหตุสำหรับผู้ใช้ n8n Cloud

ผู้ใช้ Cloud ไม่จำเป็นต้องให้รายละเอียดการเชื่อมต่อ เลือก Connect my account เพื่อเชื่อมต่อผ่านเบราว์เซอร์ของคุณ

ถ้าคุณ self-hosting n8n คุณจะต้องมีบัญชี Spotify Developer เพื่อสร้าง Spotify app:

  1. เปิด Spotify developer dashboard
  2. เลือก Create an app
  3. กรอก App name เช่น n8n integration
  4. กรอก App description
  5. คัดลอก OAuth Redirect URL จาก n8n แล้วนำไปใส่ใน Redirect URI ของ Spotify app
  6. ติ๊กถูกเพื่อยอมรับ Spotify Terms of Service และ Branding Guidelines
  7. กด Create จะเข้าสู่หน้า App overview
  8. คัดลอก Client ID แล้วนำไปใส่ใน n8n credential
  9. คัดลอก Client Secret แล้วนำไปใส่ใน n8n credential
  10. กด Connect my account แล้วทำตามขั้นตอนบนหน้าจอเพื่อ authorize credential

ดูข้อมูลเพิ่มเติมได้ที่ Spotify Apps