-
Notifications
You must be signed in to change notification settings - Fork 329
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
auth_resp_x_vouch_user is always homeassistant for all users with home assistant provider #565
Comments
sorry for not looking into the HA integration code before opening this issue. i realized that HA does not even provide an api to query the username. however i am trying to merge changes that could make this happen. |
@ivanjx thanks for contributing to VP and improving the Are you using this successfully? I'll give it a more thorough review when I have some time to look at VP stuff (probably September) |
yes i have been using it for weeks now without any problems. the prebuilt docker container is also on my github repo packages. |
@ivanjx I reviewed this PR, and I think it would be more appropriate to set Reason
I apologize if my English is not perfect, as I am posting this through translation. |
hi @nana4rider indeed. i wasnt really aware that the response was wrapped and not the actual user info itself. i believe that was because i mistakenly following the other provider implementations. since the that being said, it has been so long after i wrote this PR that i no longer use nginx so i have moved to other solutions. i also use google oauth instead of HA currently because of how limited and restrictive HA currently in terms of authentication. |
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 alwayshomeassistant
.Expected behavior
auth_resp_x_vouch_user
should be the same as the home assistant username.Desktop (please complete the following information):
Additional context
configs and scripts: https://gist.github.com/ivanjx/1a08d6e0413cb6b9bb8302ebe7db9de1
nginx log output:
The text was updated successfully, but these errors were encountered: