Skip to content
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

WebUI Login Security by Authentik or Token #127

Closed
masterwishx opened this issue Jan 11, 2024 · 5 comments
Closed

WebUI Login Security by Authentik or Token #127

masterwishx opened this issue Jan 11, 2024 · 5 comments
Labels
answered question Further information is requested

Comments

@masterwishx
Copy link

Using Lasted version of HeadScale in Docker + headscale-ui + Nginx Proxy Manager.
is any way to secure login to webUI maybe by Authentik or some Token?
i tryed but cant make it work behind Authentik.

@masterwishx masterwishx changed the title WebUI Login Security by-Authentik WebUI Login Security by Authentik or Token Jan 11, 2024
@routerino
Copy link
Contributor

routerino commented Jan 11, 2024

Yes in the sense that you can secure any web application via an oauth proxy. No in that it is not necessary. See https://github.com/gurucomputing/headscale-ui/blob/master/SECURITY.md#authentication-and-authorization

@routerino routerino added question Further information is requested answered labels Jan 11, 2024
@masterwishx
Copy link
Author

Yes in the sense that you can secure any web application via an oauth proxy. No in that it is not necessary. See https://github.com/gurucomputing/headscale-ui/blob/master/SECURITY.md#authentication-and-authorization

Thanks, i got it.
Also i saw its using local storage of browser , its not a big problem but tried to proxy access to /web page by Authentik.
but it seems not working in regular way like for other apps are working ...
using Nginx Proxy Manager + Authentik.

@masterwishx
Copy link
Author

Also interesting ,in docs says for NPM i should set container port 443 and in dockerfile exposed 443 , but for now im using:
ports:
- 9943:80
and all working fine.
is it important to set port 443 in Nginx Proxy Manager ? if its still protected by https in Proxy ? Using hs.mysite.com/web

@masterwishx
Copy link
Author

can be return 301 https://$host/web; added to /admin location in Nginx Proxy Manager ,is it safe ?

image

@routerino
Copy link
Contributor

Closing due to no replies within 30 days and as a general cleanup

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
answered question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants