I'm having trouble getting the Spotify Remote to work. I've followed the guide, and the Spotify unique Client ID and Client Secret are in place at the respective variables in settings.h. BUT, after uploading the sketch, calibrating the touch screen and accessing http://esp8266.local/ the TFT just shows the splash screen and "Please define clientId and clientSecret". But those ARE defined in settings.h, so I'm out of ideas of what to do. The serial monitor shows this:
Body starts now
--------Response Code: 400
--------Free mem: 24672
Requesting URL: GET /v1/me/player/currently-playing HTTP/1.1
HTTP/1.1 400 Bad Request
HTTP Code: 400
WWW-Authenticate: Bearer realm="spotify", error="invalid_request", error_description="Only valid bearer authentication supported"
Access-Control-Allow-Headers: Accept, Authorization, Origin, Content-Type, Retry-After
Access-Control-Allow-Methods: GET, POST, OPTIONS, PUT, DELETE, PATCH
Date: Tue, 08 Jan 2019 20:05:04 GMT
Via: 1.1 google
So there's obviously an identification problem, but I just can't see what I've done wrong. Any ideas?