From af2e5c223d9fea7a22e6704da346365d57803130 Mon Sep 17 00:00:00 2001 From: Samuele Illuminati Date: Tue, 10 Mar 2020 19:40:30 +0100 Subject: [PATCH] =?UTF-8?q?Updated=20google=5Fassistant.markdown:=20added?= =?UTF-8?q?=20`/r/YOUR=5FPROJECT=5FID`=E2=80=A6=20(#12324)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Without the `/r/YOUR_PROJECT_ID` the redirect_uri wasn't working and I wasn't successful in linking the account via the Home app. See also: https://developers.google.com/assistant/identity/oauth2 --- source/_integrations/google_assistant.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/_integrations/google_assistant.markdown b/source/_integrations/google_assistant.markdown index 689d6de6b3a..365737ff32b 100644 --- a/source/_integrations/google_assistant.markdown +++ b/source/_integrations/google_assistant.markdown @@ -38,7 +38,7 @@ You will need to create a service account [Create Service account key](https://c 2. `Account linking` is required for your app to interact with Home Assistant. Set this up under the `Quick Setup` section. 1. Leave it at the default `No, I only want to allow account creation on my website` and select `Next`. 2. For the `Linking type` select `OAuth` and `Authorization Code`. Click `Next` - 3. Client ID: `https://oauth-redirect.googleusercontent.com/`, the trailing slash is important. + 3. Client ID: `https://oauth-redirect.googleusercontent.com/r/YOUR_PROJECT_ID`. 4. Client Secret: Anything you like, Home Assistant doesn't need this field. 5. Authorization URL (replace with your actual URL): `https://[YOUR HOME ASSISTANT URL:PORT]/auth/authorize`. 6. Token URL (replace with your actual URL): `https://[YOUR HOME ASSISTANT URL:PORT]/auth/token`. Click `Next`