From f0b2a71921d302ea88c471c524aa500923f0f7c7 Mon Sep 17 00:00:00 2001 From: Sam Date: Wed, 25 Nov 2020 21:16:54 +1100 Subject: [PATCH] Update no-url-available.markdown to include subdomain hint (#15742) Co-authored-by: Franck Nijhof --- source/more-info/no-url-available.markdown | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/source/more-info/no-url-available.markdown b/source/more-info/no-url-available.markdown index 89266bcb69b..5ed08449fc7 100644 --- a/source/more-info/no-url-available.markdown +++ b/source/more-info/no-url-available.markdown @@ -84,6 +84,12 @@ Some additional notes: might cause problems with casting to media devices. - If you do not have an external address for your Home Assistant instance, leave that field empty. +- Ensure that the URL you provide matches the true address your browser uses to + reach the instance. Many popular browsers will hide the www subdomain; if you + try to configure `http://foo.bar`, but you're actually at `http://www.foo.bar`, + OAuth will fail and you will receive this error. You can always check the + actual domain by pasting `javascript:alert(document.location)` in your address + bar and pressing enter. After setting the URLs, click save. There is no need to restart Home Assistant your changes are applied immediately.