-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.js
More file actions
22 lines (19 loc) · 883 Bytes
/
config.js
File metadata and controls
22 lines (19 loc) · 883 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
// 🔐 SPOTIFY CONFIG - Hier kommen deine Spotify-Daten rein!
const SPOTIFY_CONFIG = {
// Deine Spotify Client ID vom Developer Dashboard
clientId: '7d0c7148b5554416b89083a680b2c385',
// Redirect URI wird automatisch erkannt! 🚀
// Nimmt einfach die aktuelle URL (z.B. http://127.0.0.1:3000)
get redirectUri() {
return window.location.origin;
},
// Was wir von Spotify brauchen (welche Daten wir lesen dürfen)
scopes: [
'user-read-private', // Dein Profil lesen
'user-read-email', // Deine Email lesen
'playlist-read-private', // Deine privaten Playlists sehen
'playlist-read-collaborative', // Gemeinsame Playlists sehen
'user-top-read', // Deine Top-Songs sehen
'user-library-read' // Deine gespeicherte Musik sehen
].join(' ')
};