[GH-ISSUE #3292] [FEAT]: API - Ease "username" for user management via API #2113

Open
opened 2026-02-22 18:28:12 -05:00 by yindo · 0 comments
Owner

Originally created by @brainboutique on GitHub (Feb 20, 2025).
Original GitHub issue: https://github.com/Mintplex-Labs/anything-llm/issues/3292

What would you like to see?

Background: Using Simple SSO - for example with external authentication service like Azure AAD - requires to link a anythingllm user with an user "owned" by the authentication service.
In most cases it is not possible to store the anythingllm's user id in that directory.

Proposed change:

  • Add "GET /v1/admin/usersByName/{username}" to Create or Update the user identified by that username.
  • Add "PATCH /v1/admin/usersByName/{username}" to Create or Update the user identified by that username.

PS: Alternatively, as the DB apparently is already ensuring uniqueness of username (as it should), refactor existing API to use the user-defined username for all API flavours.

Originally created by @brainboutique on GitHub (Feb 20, 2025). Original GitHub issue: https://github.com/Mintplex-Labs/anything-llm/issues/3292 ### What would you like to see? Background: Using Simple SSO - for example with external authentication service like Azure AAD - requires to link a anythingllm user with an user "owned" by the authentication service. In most cases it is not possible to store the anythingllm's user id in that directory. Proposed change: - Add "GET /v1/admin/usersByName/{username}" to Create or Update the user identified by that username. - Add "PATCH /v1/admin/usersByName/{username}" to Create or Update the user identified by that username. PS: Alternatively, as the DB apparently is already ensuring uniqueness of username (as it should), refactor existing API to use the user-defined username for all API flavours.
yindo added the enhancementfeature request labels 2026-02-22 18:28:12 -05:00
yindo changed title from [FEAT]: API - Ease "username" for user management via API to [GH-ISSUE #3292] [FEAT]: API - Ease "username" for user management via API 2026-06-05 14:44:37 -04:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Mintplex-Labs/anything-llm#2113