Memos
Auth Service

Get Current User

GetCurrentUser returns the authenticated user's information. Validates the access token and returns user details. Similar to OIDC's /userinfo endpoint.

GET
/api/v1/auth/me

Response Body

application/json

application/json

curl -X GET "https://example.com/api/v1/auth/me"
{  "user": {    "name": "string",    "role": "ROLE_UNSPECIFIED",    "username": "string",    "email": "string",    "displayName": "string",    "avatarUrl": "string",    "description": "string",    "password": "string",    "state": "STATE_UNSPECIFIED",    "createTime": "2019-08-24T14:15:22Z",    "updateTime": "2019-08-24T14:15:22Z"  }}