wireguard-ui
wireguard-ui copied to clipboard
User management & Access control
It would be nice if we can have multiple users access. Each user has their own Wireguard client setup.
Only Admin can manage the Wireguard server config
I am currently integrating the UI into YunoHost (selfhosting orchestration based on Debian). Since YunoHost's SSO has its own login page, is it possible to disable your logging system altogether?
It seems that only putting {} in db/server/users.json allows for any input to be accepted, but maybe we can bypass the login page completely?
@tituspijean I've added an option to disable authentication, you can try with --disable-login command-line argument.
Yes, I saw your new release. It works great, thanks!
I mimicked what you did to allow for other binding addresses too. See the related PR. ;)
Yes, I saw it and added a few comments there. Can you check?
There is an issue though, after disabling authentication, with the now irrelevant user name on the homepage: "%!s()"

oops, I've just fixed it on the master branch.
@ngoduykhanh Hi, I don't want to open new issue. Can You tell me how to change login and password. I run with binary file ./wireguard-ui?
Regards.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Also maybe if we get multiple users you can connect it to OCID and have each user connected to your SSO service.
@tituspijean I've added an option to disable authentication, you can try with
--disable-logincommand-line argument.
may i ask you if it is possible to disable the login on the docker container? keep the env empty?