fixed php redirect_uri
This commit is contained in:
+1
-1
@@ -79,7 +79,7 @@ function get_access_token($auth_code, $client_id, $client_secret)
|
|||||||
$data = array(
|
$data = array(
|
||||||
'grant_type' => 'authorization_code',
|
'grant_type' => 'authorization_code',
|
||||||
'code' => $auth_code,
|
'code' => $auth_code,
|
||||||
'redirect_uri' => 'http://localhost/music'
|
'redirect_uri' => 'https://cs2440.joshashton.dev/music'
|
||||||
);
|
);
|
||||||
|
|
||||||
$client_info = base64_encode("$client_id:$client_secret");
|
$client_info = base64_encode("$client_id:$client_secret");
|
||||||
|
|||||||
Reference in New Issue
Block a user