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>
2023-10-20 14:55:22 -04:00
..
build client/web: clean up assets handling 2023-09-08 16:05:11 -04:00
src client/web: hook up auth flow 2023-10-19 13:26:22 -04:00
assets.go client/web: switch to using prebuilt web client assets 2023-09-19 10:09:54 -07:00
index.html client/web: always use new web client; remove old client 2023-08-28 11:11:16 -07:00
package.json client/web: add csrf protection to web client api 2023-08-21 15:02:02 -04:00
postcss.config.js client/web: add tailwind styling to react app 2023-08-14 15:29:12 -04:00
qnap.go client/web: add login client mode to web.Server 2023-09-28 12:35:07 -04:00
synology.go client/web: add login client mode to web.Server 2023-09-28 12:35:07 -04:00
tailwind.config.js client/web: add tailwind styling to react app 2023-08-14 15:29:12 -04:00
tsconfig.json client/web: add debug mode for web client ui updates 2023-09-28 15:45:33 -04:00
vite.config.ts client/web: switch to using prebuilt web client assets 2023-09-19 10:09:54 -07:00
web.go ipn/localapi,client/web: clean up auth error handling 2023-10-20 14:55:22 -04:00
web_test.go client/web: use auth ID in browser sessions 2023-10-19 16:32:43 -04:00
yarn.lock client/web: add csrf protection to web client api 2023-08-21 15:02:02 -04:00