Comments (5)
For Question 1, you might be misunderstanding how the UI works. The docker container doesn't do any direct communication to headscale. All requests leave and arrive via your browser, and your browser definitely isn't inside a docker container.
Question 2 not really sure what you're asking for here. If you need additional authentication methods you can put in a forward auth proxy. Anything more sophisticated is only feasible with a backend authentication platform, and headscale UI is frontend only.
Question 3, I default to https as a security measure. You can make a custom caddyfile
and place it in /data/Caddyfile
via a bind mount if you want a non-secure connection. I may redo the caddyfile to use caddy's JSON at some point so I can be more sophisticated about environment variables.
from headscale-ui.
I'll close for now, Question 3 will be addressed with #37
from headscale-ui.
Authentication failed, but browser access is no problem
from headscale-ui.
Can you tell me what the console error says when this happens? You can find out by opening the dev console (control+shift+i) and reading out the error.
theoretically what you are trying to do should work, but it all works on the browser fetch
method, which sometimes gets unhappy with insecure sites. I suspect you're having CORS problems because the browser doesn't think it's the same domain.
Easiest fix is to make sure both sites get served on the same IP and port, that will most likely fix your issue.
from headscale-ui.
headscale must be served over TLS/HTTPS
Remote access does not support unencrypted traffic.
thanks bro
i found this comment on headscale project , problem resolve
from headscale-ui.
Related Issues (20)
- can add split page function to devices list? HOT 2
- Can't load web ui HOT 4
- Can't use digits when creating new user in the web ui HOT 1
- [Q&A] How to handle 100+ groups +1 Master? HOT 4
- Cannot get it to connect to server HOT 3
- installation for a noob HOT 4
- Setting up headscale-ui with Caddy on a VPS hosting headscale HOT 1
- Headscale URL & API Key HOT 3
- Proxy Settings "Nginx Proxy Manager" web UI HOT 28
- please delete HOT 6
- ACL support ? HOT 2
- Regression in legacy API for enabling multiple routes HOT 2
- add dynamic localisation support HOT 1
- Unable to connect to the server, F12 prompts 502 error HOT 4
- Add Headscale 0.19 support (namespace vs. user) HOT 4
- Subnet Routing Failover HOT 1
- 404 error on first load of `/web` endpoint HOT 3
- Unable to connect to the local headscale-ui, there is a problem with the APIKEY HOT 4
- 404 error when saving API Key on /api/v1/apikey HOT 2
- Question: CORS Problems with Separate Dockers HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from headscale-ui.