You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tailscale/client/web
Will Norris 0c3d343ea3 client/web: invert auth logic for synology and qnap
Add separate server methods for synology and qnap, and enforce
authentication and authorization checks before calling into the actual
serving handlers. This allows us to remove all of the auth logic from
those handlers, since all requests will already be authenticated by that
point.

Also simplify the Synology token redirect handler by using fetch.

Remove the SynologyUser from nodeData, since it was never used in the
frontend anyway.

Updates tailscale/corp#13775

Signed-off-by: Will Norris <will@tailscale.com>
2 years ago
..
src client/web: refresh on tab focus 2 years ago
api.go client/web: invert auth logic for synology and qnap 2 years ago
dev.go client/web: add barebones vite dev setup 2 years ago
index.html client/web: copy existing UI to basic react components 2 years ago
package.json client/web: add csrf protection to web client api 2 years ago
postcss.config.js client/web: add tailwind styling to react app 2 years ago
qnap.go client/web: invert auth logic for synology and qnap 2 years ago
synology.go client/web: invert auth logic for synology and qnap 2 years ago
tailwind.config.js client/web: add tailwind styling to react app 2 years ago
tsconfig.json client/web: add tsconfig.json 2 years ago
vite.config.ts client/web: add barebones vite dev setup 2 years ago
web.css client/web: extract web client from cli package 2 years ago
web.go client/web: invert auth logic for synology and qnap 2 years ago
web.html client/web: extract web client from cli package 2 years ago
web_test.go client/web: extract web client from cli package 2 years ago
yarn.lock client/web: add csrf protection to web client api 2 years ago