Get Current User Info
Get the currently authenticated user’s information.
Args: current_user: Current authenticated user (from JWT claims)
Returns: Current user information
GET
Get Current User Info
Response
200 - application/json
Successful Response
Returned to clients when reading user info.
Required string length:
1 - 2083Last modified on April 21, 2026
Previous
Jwt RefreshRefresh 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
Next
Get Current User Info