hass-auth-header icon indicating copy to clipboard operation
hass-auth-header copied to clipboard

Support for access token?

Open Arragon5xpwm opened this issue 1 year ago • 2 comments

After switching to auth headers, the Alexa skill (https://www.home-assistant.io/integrations/alexa.intent/) seems no longer be able to authenticate via access token.

Arragon5xpwm avatar Dec 18 '23 22:12 Arragon5xpwm

This component shouldn't interfere with this, however you'll have to allow access to /api* without the forward authentication header being set

BeryJu avatar Dec 19 '23 12:12 BeryJu

For Traefik I added a second router without forward auth for the api and added "&& !PathPrefix(/api/)" to the orignial one. While this does work when the Alexa skill was previously connected, it does not allow the skill to connect for first setup (Alexa app is showing "Try again later"). I could not test if this also applies for other integrations that require to authenticate with the home assistant instance (like Withings for example).

Arragon5xpwm avatar Dec 19 '23 13:12 Arragon5xpwm