SECU-02: JWT refresh flow via POST /api/v1/agents/{id}/refresh #24
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Agent can refresh JWT via
POST /api/v1/agents/{id}/refreshwith{refreshToken}. Returns new JWT and refresh token pair.Category: Security
REQ-ID: SECU-02
Implemented in Phase 4.
POST /api/v1/agents/{id}/refreshvalidates 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:
POST /api/v1/agents/{id}/refreshinAgentRegistrationControllerfor JWT refresh flow.