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
Sonia Appasamy 68da15516f ipn/localapi,client/web: clean up auth error handling
This commit makes two changes to the web client auth flow error
handling:

1. Properly passes back the error code from the noise request from
   the localapi. Previously we were using io.Copy, which was always
   setting a 200 response status code.
2. Clean up web client browser sessions on any /wait endpoint error.
   This avoids the user getting in a stuck state if something goes
   wrong with their auth path.

Updates tailscale/corp#14335

Signed-off-by: Sonia Appasamy <sonia@tailscale.com>
1 year ago
..
build client/web: clean up assets handling 1 year ago
src client/web: hook up auth flow 1 year ago
assets.go client/web: switch to using prebuilt web client assets 1 year ago
index.html client/web: always use new web client; remove old client 1 year ago
package.json client/web: add csrf protection to web client api 1 year ago
postcss.config.js client/web: add tailwind styling to react app 1 year ago
qnap.go client/web: add login client mode to web.Server 1 year ago
synology.go client/web: add login client mode to web.Server 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 ipn/localapi,client/web: clean up auth error handling 1 year ago
web_test.go client/web: use auth ID in browser sessions 1 year ago
yarn.lock client/web: add csrf protection to web client api 1 year ago