Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
brainboutique opened this issue Feb 20, 2025 · 0 comments
Open

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

brainboutique opened this issue Feb 20, 2025 · 0 comments
Labels
enhancement New feature or request feature request

Comments

@brainboutique
Copy link

brainboutique commented Feb 20, 2025

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.

@brainboutique brainboutique added enhancement New feature or request feature request labels Feb 20, 2025
@brainboutique brainboutique changed the title [FEAT]: Support "remote identifier" for user management [FEAT]: API - Support "remote identifier" for user management Feb 20, 2025
@brainboutique brainboutique changed the title [FEAT]: API - Support "remote identifier" for user management [FEAT]: API - Ease "username" for user management via API Feb 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request feature request
Projects
None yet
Development

No branches or pull requests

1 participant