when AdGuard Home is not authorized for the Visitors group, it never automatically displays the login page, whereas it does if it's authorized for the Visitors group
if the user go manually to the login.html page, they can login and use their AGH as usual
as long as the user doesn't log out, no problem
this bug is not present with 0.107.42~ynh1 so it seems related to #143, who fixes:
when adguard home is not enabled in the visitor group, the API is SSOed
maybe I miss something, but I tested many things to try to fix this
Context
Hardware: proxmox virtualized server
YunoHost version: 11.2.8.2 (stable)
I have access to my server: Through SSH | through the webadmin | direct access via keyboard / screen
Are you in a special context or did you perform some particular tweaking on your YunoHost instance?: no
Using, or trying to install package version/branch: 0.107.42~ynh2
Steps to reproduce
disconnect from your AGH
in Users > Groups and permissions, disable AGH for the Visitors group and enable it for your user or the All users group
try to connect to your AGH
the page loads forever, never display the login.html page and with one GET https://adguard.example.com/control/status 403 Forbidden per second in the console
Expected behavior
whether AGH is open to visitors or not, it should redirect the user to the login.html page if not connected
Logs
there is no error at all in the AGH logs, but one GET https://adguard.example.com/control/status 403 Forbidden per second in the console
Describe the bug
when AdGuard Home is not authorized for the Visitors group, it never automatically displays the login page, whereas it does if it's authorized for the Visitors group if the user go manually to the
login.html
page, they can login and use their AGH as usual as long as the user doesn't log out, no problemthis bug is not present with
0.107.42~ynh1
so it seems related to #143, who fixes:maybe I miss something, but I tested many things to try to fix this
Context
0.107.42~ynh2
Steps to reproduce
login.html
page and with oneGET https://adguard.example.com/control/status 403 Forbidden
per second in the consoleExpected behavior
whether AGH is open to visitors or not, it should redirect the user to the
login.html
page if not connectedLogs
there is no error at all in the AGH logs, but one
GET https://adguard.example.com/control/status 403 Forbidden
per second in the console