Skip to main content

POST /utils/login/test-token

Test access token

Validates the current user's access token and returns the authenticated user's profile information.

Endpoint

POST /utils/login/test-token

Parameters

NameTypeDescription
current_userCurrentUserThe dependency-injected user object representing the currently authenticated requester.

Response

StatusDescription
200Successfully validated the token and retrieved user information. Returns UserPublic.
401The provided access token is invalid, expired, or missing.