Add endpoint to retrieve the currently authenticated API user #3866

Open
opened 2026-02-05 07:42:53 +03:00 by OVERLORD · 0 comments
Owner

Originally created by @devdot on GitHub (Jun 16, 2023).

API Endpoint or Feature

An endpoint to retrieve the current authenticated user, perhaps api/users/me, which would return the same user object as api/users/{id}.

Use-Case

For what I know, it is currently impossible to identify the user that is associated with the token used on a request. If a third party app would want to load all posts that are created by the user, it would need to know the user id and not just token/secret.

Additional context

Too me, this is not a very important issue (as it is not a huge deal to require the user id along with token/secret), but one that could simply improve third party workflows.

Originally created by @devdot on GitHub (Jun 16, 2023). ### API Endpoint or Feature An endpoint to retrieve the current authenticated user, perhaps `api/users/me`, which would return the same user object as `api/users/{id}`. ### Use-Case For what I know, it is currently impossible to identify the user that is associated with the token used on a request. If a third party app would want to load all posts that are created by the user, it would need to know the user id and not just token/secret. ### Additional context Too me, this is not a very important issue (as it is not a huge deal to require the user id along with token/secret), but one that could simply improve third party workflows.
OVERLORD added the 🔩 API Request label 2026-02-05 07:42:53 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/BookStack#3866