1.2 KiB
1.2 KiB
Frontend Boundary
- This repository hosts the central identity web surface for Thalos.
- Frontend data access flows through
src/api/*adapter modules. - The UI does not access DAL or internal services directly.
- Route shell uses Ant Design layout/menu and keeps session workspace behind session checks.
- Callback handling validates OIDC query states and normalizes return paths to same-origin routes.
Runtime Base URLs
API_BASE_URLfor business BFF calls.THALOS_AUTH_BASE_URLfor session and OIDC endpoints.THALOS_DEFAULT_RETURN_URLfor callback fallback.THALOS_DEFAULT_TENANT_IDfor OIDC tenant defaults.THALOS_ENABLE_MANUAL_LOGINfor explicitly enabling the dev/test fallback form.
Protected Workflow Endpoints
GET /api/identity/oidc/google/startGET /api/identity/oidc/google/callbackPOST /api/identity/session/loginPOST /api/identity/session/refreshPOST /api/identity/session/logoutGET /api/identity/session/me
UI Workflow Coverage
- Central login launch (Google OIDC start)
- Callback processing and error rendering
- Session workspace verification and snapshot reload
- Manual dev/test session login fallback gated by environment/runtime config