Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OAuth redirect for spotify integration not working #338

Open
j4ys0n opened this issue Feb 6, 2023 · 1 comment
Open

OAuth redirect for spotify integration not working #338

j4ys0n opened this issue Feb 6, 2023 · 1 comment

Comments

@j4ys0n
Copy link

j4ys0n commented Feb 6, 2023

While installing the spotify integration, after signing in to spotify, the oauth flow tries the following url and errors.

https://accounts.spotify.com/authorize?response_type=code&client_id=client_id_here&redirect_uri=https://my.home-assistant.io/redirect/oauth&state=state_token&scope=user-modify-playback-state,user-read-playback-state,user-read-private,playlist-read-private,playlist-read-collaborative,user-library-read,user-top-read,user-read-playback-position,user-read-recently-played,user-follow-read

results in INVALID_CLIENT: Invalid redirect URI

@balloob
Copy link
Member

balloob commented Feb 6, 2023

If this is a manual configuration of Home Assistant, make sure that you have added the My redirect URI as an approved redirect URI to your Spotify client as per the Spotify docs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants