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!