From 823efab65d47cc05dfa8bd2f18ec102280b82bb4 Mon Sep 17 00:00:00 2001 From: willidh74 Date: Wed, 15 Apr 2020 13:55:54 +0100 Subject: [PATCH 1/2] You need to include the port in the URI --- source/_integrations/spotify.markdown | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/_integrations/spotify.markdown b/source/_integrations/spotify.markdown index c42b8a437649..95b668c5bea3 100644 --- a/source/_integrations/spotify.markdown +++ b/source/_integrations/spotify.markdown @@ -31,8 +31,8 @@ To create the required Spotify application: - Select **Create An App**. Enter any name and description. - Once your application is created, view it and copy your **Client ID** and **Client Secret**, which are used in the Home Assistant configuration file. - Add a **Redirect URI** in one of the following forms: - - If you are not using SSL: `http:///auth/external/callback` - - If you are using SSL: `https:///auth/external/callback` + - If you are not using SSL: `http://:8123/auth/external/callback` + - If you are using SSL: `https://:8123/auth/external/callback` - Click **Save** after adding the URI. If you are using an externally accessible address, you will likely also need to set the `base_url` attribute of the [HTTP Integration](/integrations/http/). This should be set using the same base URL as the redirect URI, e.g., if you used a domain name (not local IP) in the redirect, then use the same domain name in your `base_url`. From f8de0080f2b33c81d42e7df796f6038f90e9b505 Mon Sep 17 00:00:00 2001 From: willidh74 Date: Wed, 15 Apr 2020 14:27:01 +0100 Subject: [PATCH 2/2] Update spotify.markdown --- source/_integrations/spotify.markdown | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/_integrations/spotify.markdown b/source/_integrations/spotify.markdown index 95b668c5bea3..fb7936ca3645 100644 --- a/source/_integrations/spotify.markdown +++ b/source/_integrations/spotify.markdown @@ -31,8 +31,8 @@ To create the required Spotify application: - Select **Create An App**. Enter any name and description. - Once your application is created, view it and copy your **Client ID** and **Client Secret**, which are used in the Home Assistant configuration file. - Add a **Redirect URI** in one of the following forms: - - If you are not using SSL: `http://:8123/auth/external/callback` - - If you are using SSL: `https://:8123/auth/external/callback` + - If you are not using SSL: `http://:/auth/external/callback` + - If you are using SSL: `https://:/auth/external/callback` - Click **Save** after adding the URI. If you are using an externally accessible address, you will likely also need to set the `base_url` attribute of the [HTTP Integration](/integrations/http/). This should be set using the same base URL as the redirect URI, e.g., if you used a domain name (not local IP) in the redirect, then use the same domain name in your `base_url`.