My App
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

MethodPathMục đíchTrạng thái
GET/healthzhealthĐã đóng
GET/.well-known/jwks.jsonpublish JWKSĐã đóng
POST/api/auth/loginloginĐã đóng
POST/api/auth/refreshrefresh 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

MethodPathMục đíchTrạng thái
GET/readyzreadinessChưa đóng
GET/actuator/healthhealth aliasChưa đóng
GET/actuator/health/livenessliveness aliasChưa đóng
GET/actuator/health/readinessreadiness aliasChưa đóng
GET/actuator/infoservice infoChưa đóng
GET/internal/readinessinternal readinessChưa đóng
GET/v3/api-docsminimal OpenAPI docsChưa đóng
GET/scalarScalar UIChưa đóng
GET/scalar/*Scalar assetsChưa đóng
GET/api/auth/mecurrent accountCode-confirmed, chưa checkpoint closed
POST/api/auth/logoutlogoutCode-confirmed, chưa checkpoint closed

Không có route này trong Go router

PathTrạng thái
GET /api/auth/me/branchesKhông thấy trong Go router
GET /api/auth/me/workspacesREADME ghi not implemented
POST /api/auth/select-workspaceREADME 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:

  • email
  • password
  • branchId
  • account
  • workspace
  • member
  • branch
  • branches
  • auth
  • accessToken
  • accountAccessToken
  • refreshToken
  • expiresIn
  • refreshExpiresIn
  • nextAction

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.

On this page