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 4ce4bb6271 client/web: limit authorization checks to API calls
This completes the migration to setting up authentication state in the
client first before fetching any node data or rendering the client view.

Notable changes:
 - `authorizeRequest` is now only enforced on `/api/*` calls (with the
   exception of /api/auth, which is handled early because it's needed to
   initially setup auth, particularly for synology)
 - re-separate the App and WebClient components to ensure that auth is
   completed before moving on
 - refactor platform auth (synology and QNAP) to fit into this new
   structure. Synology no longer returns redirect for auth, but returns
   authResponse instructing the client to fetch a SynoToken

Updates tailscale/corp#14335

Signed-off-by: Will Norris <will@tailscale.com>
1 year ago
..
build client/web: clean up assets handling 1 year ago
src client/web: limit authorization checks to API calls 1 year ago
assets.go client/web: switch to using prebuilt web client assets 1 year ago
auth.go client/web: move more session logic to auth.go 1 year ago
index.html client/web: always use new web client; remove old client 1 year ago
package.json build(deps-dev): bump postcss from 8.4.27 to 8.4.31 in /client/web 1 year ago
postcss.config.js client/web: add tailwind styling to react app 1 year ago
qnap.go client/web: limit authorization checks to API calls 1 year ago
synology.go client/web: limit authorization checks to API calls 1 year ago
tailwind.config.js client/web: add tailwind styling to react app 1 year ago
tsconfig.json client/web: add debug mode for web client ui updates 1 year ago
vite.config.ts client/web: switch to using prebuilt web client assets 1 year ago
web.go client/web: limit authorization checks to API calls 1 year ago
web_test.go client/web: limit authorization checks to API calls 1 year ago
yarn.lock build(deps-dev): bump postcss from 8.4.27 to 8.4.31 in /client/web 1 year ago