Anonymous plugin unique name #1036

Closed
opened 2026-03-13 08:19:51 -05:00 by GiteaMirror · 6 comments
Owner

Originally created by @ywyher on GitHub (Apr 13, 2025).

Originally assigned to: @ping-maxwell on GitHub.

when you create a user the name field is always Anonymous
what if i want the name field to be unique ?
it would be better if we have an option to enable randomly generated names something like Anonymous${random} or any other way to customize the name filed

Originally created by @ywyher on GitHub (Apr 13, 2025). Originally assigned to: @ping-maxwell on GitHub. when you create a user the name field is always Anonymous what if i want the name field to be unique ? it would be better if we have an option to enable randomly generated names something like `Anonymous${random}` or any other way to customize the name filed
GiteaMirror added the enhancement label 2026-03-13 08:19:51 -05:00
Author
Owner

@drago1520 commented on GitHub (Apr 19, 2025):

yes!!!! yes!

@drago1520 commented on GitHub (Apr 19, 2025): yes!!!! yes!
Author
Owner

@drago1520 commented on GitHub (Apr 19, 2025):

I searched through their docs. It is not supported currently. Having unique usernames is such a basic feature.

@drago1520 commented on GitHub (Apr 19, 2025): I searched through their docs. It is not supported currently. Having unique usernames is such a basic feature.
Author
Owner

@drago1520 commented on GitHub (Apr 19, 2025):

I fixed it. Now it generates a UUID string with postfix, but you can also add custom default username.

@drago1520 commented on GitHub (Apr 19, 2025): I fixed it. Now it generates a UUID string with postfix, but you can also add custom default username.
Author
Owner

@ping-maxwell commented on GitHub (Apr 20, 2025):

https://github.com/better-auth/better-auth/pull/2361

@ping-maxwell commented on GitHub (Apr 20, 2025): https://github.com/better-auth/better-auth/pull/2361
Author
Owner

@ping-maxwell commented on GitHub (Apr 20, 2025):

@drago1520 Sorry, just only noticed now you have a PR for this.
I made mine from a request via the Better Auth Discord server.

@ping-maxwell commented on GitHub (Apr 20, 2025): @drago1520 Sorry, just only noticed now you have a PR for this. I made mine from a request via the Better Auth Discord server.
Author
Owner

@Bekacru commented on GitHub (May 6, 2025):

#2361

@Bekacru commented on GitHub (May 6, 2025): #2361
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/better-auth#1036