Teams
auth
Jwt Refresh
Refresh JWT token.
Accepts a valid or expired JWT token and returns a new token with fresh expiration. The token can be provided in a cookie or Authorization header.
Args: request: FastAPI request object response: FastAPI response object to set cookies user_manager: FastAPI Users user manager session: Database session
Returns: JWT token response with access_token and token_type (also sets cookie)
Raises: HTTPException: If token is invalid or user not found
post/v1/auth/jwt/refresh
Response
Successful Response
object required