Commit | Line | Data |
---|---|---|
7d1597b7 JC |
1 | <?php |
2 | require 'secrets.php'; | |
3 | $scopes = 'playlist-modify-private playlist-modify-public'; | |
29d84c29 | 4 | $url = 'https://accounts.spotify.com/en/authorize?response_type=code&client_id=93a6f9c0375c45d4b348157691aa24e8&scope=' . urlencode($scopes) . '&redirect_uri=' . urlencode(REDIRECT_URI) . '&state=' . $_GET['state']; |
7d1597b7 JC |
5 | header('Location: ' .$url); |
6 | exit(); |