ServiceIdentity
API Surface Identity
Endpoint hiện tại của Go Identity Service và trạng thái validation.
API Surface Identity
Endpoint đã đóng trong checkpoint
| Method | Path | Mục đích | Trạng thái |
|---|---|---|---|
GET | /healthz | health | Đã đóng |
GET | /.well-known/jwks.json | publish JWKS | Đã đóng |
POST | /api/auth/login | login | Đã đóng |
POST | /api/auth/refresh | refresh session/token | Đã đóng sau valid session |
POST | /api/auth/select-branch | đổi accountAccessToken sang branch-scoped accessToken | Đã đóng |
Login/refresh/select-branch đã validate qua API Gateway và frontend.
Endpoint confirm từ code, chưa là checkpoint chính
| Method | Path | Mục đích | Trạng thái |
|---|---|---|---|
GET | /readyz | readiness | Chưa đóng |
GET | /actuator/health | health alias | Chưa đóng |
GET | /actuator/health/liveness | liveness alias | Chưa đóng |
GET | /actuator/health/readiness | readiness alias | Chưa đóng |
GET | /actuator/info | service info | Chưa đóng |
GET | /internal/readiness | internal readiness | Chưa đóng |
GET | /v3/api-docs | minimal OpenAPI docs | Chưa đóng |
GET | /scalar | Scalar UI | Chưa đóng |
GET | /scalar/* | Scalar assets | Chưa đóng |
GET | /api/auth/me | current account | Code-confirmed, chưa checkpoint closed |
POST | /api/auth/logout | logout | Code-confirmed, chưa checkpoint closed |
Không có route này trong Go router
| Path | Trạng thái |
|---|---|
GET /api/auth/me/branches | Không thấy trong Go router |
GET /api/auth/me/workspaces | README ghi not implemented |
POST /api/auth/select-workspace | README ghi not implemented |
/api/iam/** | README ghi not implemented |
/api/system/** | README ghi not implemented |
Branch list hiện đi trong login/refresh response qua JSON field branches[].
JSON fields chính
Confirmed từ DTO:
emailpasswordbranchIdaccountworkspacememberbranchbranchesauthaccessTokenaccountAccessTokenrefreshTokenexpiresInrefreshExpiresInnextAction
TODO
- Chưa đóng: Bruno/checkpoint riêng cho
GET /api/auth/me. - Chưa đóng: Bruno/checkpoint riêng cho
POST /api/auth/logout.