-
Notifications
You must be signed in to change notification settings - Fork 111
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
Login option in AfWatch #543
Comments
I agree 100%. Even better if there could be some server side system, with proper authentication. I wouldn't mind creating the ldap system for it. Perhaps keep the authentication system/modules in python? |
Hi! Visor / God modes are not a "re-login", it's more like a "sudo", if the user knows the password, he can change something ("he" - not some other admin). Authentication is a more complex thing. And by default it is not needed in most cases. But! In 2.1.0 it was disabled (commented), when we switched to a new network workflow: ps |
Hej, for the web gui this is possible to do in some sort of way.
log:
level: INFO
entryPoints:
web:
address: ":80"
http:
redirections:
entryPoint:
to: web-secure
web-secure:
address: ":443"
certificatesResolvers:
letsencrypt:
acme:
email: "[email protected]"
storage: /etc/traefik/acme/acme.json
httpChallenge:
entryPoint: web
http:
routers:
afserver:
rule: "Host(`af.blubb.com`) || Host(`www.af.blubb.com`)"
entryPoints:
- web-secure
middlewares:
- afserver-auth
service: afserver
tls:
certResolver: letsencrypt
middlewares:
afserver-auth:
basicAuth:
users:
- "admin:$aer1$some-hashed-password"
services:
afserver:
loadBalancer:
servers:
- url: http://afserver_ip:51000
providers:
file:
filename: /etc/traefik/traefik.yml
watch: true
This uses basic auth as a middleware. But you can also use other auth methods. I think there is a ldap version (which might cost something). |
In terms of GUI usability there need to be a "Login" option somewhere in the UI to switch between Visor / God modes. Currently it is too much hidden in the quirks of the UI.
The text was updated successfully, but these errors were encountered: