Commit | Line | Data |
---|---|---|
7d1597b7 | 1 | <?php |
86b8d9ed JC |
2 | require 'secrets.php'; |
3 | $scopes = 'playlist-modify-private playlist-modify-public'; | |
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']; | |
5 | header('Location: ' .$url); | |
6 | exit(); | |
7 |