WilliamVenner / LaMetric-Spotify

🔊 Spotify app for La Metric clock
12 stars 3 forks source link

lametric Spotify app #4

Closed pmchaumien closed 3 years ago

pmchaumien commented 3 years ago

hi William I followed all your procedure for create this app but my lametric still displayed "BAD" but when I log to my account --> in the app it's OK but after some research it's appear that it here where the php stop $headers = getallheaders();

if (!isset($headers["Authorization"])) {
    output("BAD"); return;
}

I put this security to see where is this issue... I don't understand why Could u help me ?

WilliamVenner commented 3 years ago

I believe the Authorization header is set by LaMetric when making a request to the php script.

pmchaumien commented 3 years ago

do u have an idea to solve this issue ?