Skip to content

auth_resp_x_vouch_user is always homeassistant for all users with home assistant provider #565

@ivanjx

Description

@ivanjx

Describe the problem
i am trying to implement basic authorization per domain with openresty following the examples provided in this repo. however for all the users on my home assistant, the auth_resp_x_vouch_user is always homeassistant.

Expected behavior
auth_resp_x_vouch_user should be the same as the home assistant username.

Desktop (please complete the following information):

  • OS: Linux
  • Browser: Brave
  • Version: 1.67.116

Additional context
configs and scripts: https://gist.github.com/ivanjx/1a08d6e0413cb6b9bb8302ebe7db9de1

nginx log output:

2024/06/27 17:16:22 [error] 7#7: *12 [lua] user_auth.lua:28: VOUCH USER GNAME: homeassistant!

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions