Spotify Component Authorization Error 500

Tried including the Spotify component - it popped up with a notification to configure - i click on it, sign in, allow and then it redirects to a 500 Internal Server Error

Configure link -

Redirected link -

Redirect URI setup -

Config - - platform: spotify client_id: !secret spotify_client_id client_secret: spotify_client_secret name: Will's Spotify

Any idea whats going wrong?