node-red-contrib-home-assistant icon indicating copy to clipboard operation
node-red-contrib-home-assistant copied to clipboard

Change to OAuth Access Token

Open drobtravels opened this issue 6 years ago • 2 comments

Home Assistant has a new auth system as a Release Candidate which uses oauth instead of an api password. It will be the default in the next release 0.76.

With the new auth system, users will see an error "Please change to use bearer token access" and node red will be unable to connect to Home Assistant.

Users will need to enable the legacy api password to allow node red to continue to work, until this is switch to use oauth

auth_providers:
   - type: homeassistant
  # below will be required for node red to continue to work.
   - type: legacy_api_password

See https://github.com/home-assistant/home-assistant/issues/15376

drobtravels avatar Aug 19 '18 17:08 drobtravels

This might be useful for reference https://github.com/elvetemedve/node-red-contrib-oauth2

drobtravels avatar Aug 19 '18 17:08 drobtravels

Please note, this does not apply to Hassio, which uses an API token from the Supervisor proxy.

frenck avatar Sep 09 '18 06:09 frenck