![]() ![]() Rename the file to SERVICE_ACCOUNT.JSON.This will start a download of a JSON file.Create a private key, make sure it is in JSON format.Under Service Accounts there should now be an account called [name from Click on the pencil button of that service account.Select a role: Service Accounts and Service Account Token Creator.Service account name: Give your account a self-selected name.In the Credentials view, select Create credentials and next Service account.Go to the menu and select APIs and Services and next Credentials.In the window that popped up, select your newly created project from step 1.If you don’t see this option, go to the Test tab instead, select the Settings button in the top right below the header, and ensure On device testing is enabled (if it isn’t, enable it). Select the Develop tab at the top of the page, then, in the upper right hand corner, select the Test button to generate the draft version Test App. Do NOT check Google to transmit clientID and secret via HTTP basic auth header.In the Configure your client Scopes textbox, type email and select Add scope, then type name and select Add scope again.Token URL (replace with your actual URL): HOME ASSISTANT URL:PORT]/auth/token.Authorization URL: HOME ASSISTANT URL:PORT]/auth/authorize.Client Secret: Anything you like, Home Assistant doesn’t need this field.(Replace with your project ID from above) Then if asked, for the Linking type select OAuth and Authorization Code.If asked, leave options as they default No, I only want to allow account creation on my website and select Next.Select on Setup account linking under the Quick Setup section of the Overview page.Start by going back to the Overview tab.Make note of the Project ID that are listed on the GENERAL tab of the Settings page.Īccount linking is required for your app to interact with Home Assistant. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |