You need to include the port in the URI (#12981)

* You need to include the port in the URI

* Update spotify.markdown
This commit is contained in:
willidh74 2020-04-15 15:07:48 +01:00 committed by GitHub
parent 8a15cb53db
commit 79f62c71da
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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://<your_home_assistant_url_or_local_ip>/auth/external/callback`
- If you are using SSL: `https://<your_home_assistant_url_or_local_ip>/auth/external/callback`
- If you are not using SSL: `http://<your_home_assistant_url_or_local_ip>:<port>/auth/external/callback`
- If you are using SSL: `https://<your_home_assistant_url_or_local_ip>:<port>/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`.