Files
admin-frontend-domain/src/types
naibaandcloudcode 6f0d9b6637 feat(api-tokens): add PAT management UI, CSRF handling, and auth-loading fixes
Add an API tokens management route to create, list, and revoke PATs, showing
the plaintext token once on creation with scope and server-id selection.

Mirror the nz-csrf cookie into the X-CSRF-Token header on unsafe fetcher
methods (POST/PUT/PATCH/DELETE) for the server-side double-submit check, and
self-heal expired sessions via refresh-token without a recursive fetch loop.

Gate protected routes behind resolved auth state to avoid pre-auth SWR fetches,
and fix the login loading/race so stale probes cannot clobber the session.

Add i18n keys for the new screens across all locales.

Co-authored-by: cloudcode <cloudcode@users.noreply.github.com>
2026-05-30 15:56:53 +00:00
..
2024-12-14 10:39:07 +08:00
2024-11-19 14:55:21 +08:00
2024-12-13 23:51:33 +08:00
2024-12-13 23:51:33 +08:00
2024-12-13 23:51:33 +08:00
2024-12-13 23:51:33 +08:00
2026-05-25 10:15:24 +00:00
2024-12-13 23:51:33 +08:00
2024-12-13 23:51:33 +08:00
2025-08-23 21:09:54 +08:00