Spotify integration error : INVALID_CLIENT: Invalid redirect URI - can't remove integration

Hi
I had a working spotify integration using my spotify account and used this guide from Smart Home Junkie

I decided to use a dedicated Spotify [family] account iso my own personal spotify account because when I leave home with my phone, my family members did not appreciate that the music stopped playing on the Chromecast.

Likely I made an error in the client secret/user while adding the new spotify integration.
The issue now is that I can’t remove the wrong configured spotify configuration. The integration want first to finalise the wrongly configured Spotify integration; there is no way to remove the integration. Even after a reboot I get the same message to finalise the integration and to open a website with the invalid redirect URI…message

I am stuck here, how do I remove Spotify integration so I can start again and fix the user credentials.
Any suggestions?

The same happened to me, I was stuck with a bad URI and I did not find any solution to fix it via the UI.
I was able to fix it (manually fixed the credentials and removed the Spotify entry in HA hidden config files) but it’s a risky solution if you don’t know what you are doing:

  1. Update spotify credentials in file /config/.storage/application_credentials and then try to restart HA (for my it was still not OK, old credentials were still used to finalize Spotify integration config after restart)
  2. If still NOK, remove the entry for spotify in /config/.storage/core.config_entries then restart HA

Thanks Julnobugs, I followed yr advice and that worked!