SECU-02: JWT refresh flow via POST /api/v1/agents/{id}/refresh #24

Closed
opened 2026-03-11 11:14:03 +01:00 by claude · 2 comments
Owner

Agent can refresh JWT via POST /api/v1/agents/{id}/refresh with {refreshToken}. Returns new JWT and refresh token pair.

Category: Security
REQ-ID: SECU-02

Agent can refresh JWT via `POST /api/v1/agents/{id}/refresh` with `{refreshToken}`. Returns new JWT and refresh token pair. **Category:** Security **REQ-ID:** SECU-02
Author
Owner

Implemented in Phase 4. POST /api/v1/agents/{id}/refresh validates refresh token type claim, checks agent exists, and issues new access token. Stateless refresh tokens (signed JWT with type=refresh, 7-day expiry). Key files: AgentRegistrationController.java, JwtTokenService.java.

Implemented in Phase 4. `POST /api/v1/agents/{id}/refresh` validates refresh token type claim, checks agent exists, and issues new access token. Stateless refresh tokens (signed JWT with type=refresh, 7-day expiry). Key files: `AgentRegistrationController.java`, `JwtTokenService.java`.
Author
Owner

Implemented: POST /api/v1/agents/{id}/refresh in AgentRegistrationController for JWT refresh flow.

Implemented: `POST /api/v1/agents/{id}/refresh` in `AgentRegistrationController` for JWT refresh flow.
Sign in to join this conversation.