mirror of
https://github.com/pocket-id/pocket-id.git
synced 2025-12-09 17:23:22 +03:00
🐛 Bug Report: Unique Email Unable to Create Different Usernames #318
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @trumblejoe on GitHub.
Reproduction steps
PocketID requires a unique email per username. However this is an issue when someone may have two accounts for the same user.
For example logging into Jellyfin with PocketID I have both administrator & myname as usernames. On other services behind PocketID & Reverse Proxy I may have firstinitialLastName as my username on that service.
This also creates issues for accounts for shared logins for example, parents who use multiple usernames for themselves but only have one email between themselves.
Expected behavior
I expected to be able to create a new username tied to the same email as another account & then have different logins for the underlying services.
Actual Behavior
I was unable to create my needed username & was given an appropriate error message saying so.
Version and Environment
v3.5.3 behind caddy reverse proxy on unraid.
Log Output
No response
@stonith404 commented on GitHub:
Yeah in my opinion this doesn't make sense to implement into Pocket ID. This feature would make Pocket ID unnecessarily complicated. I even doubt that more advanced solutions like Authentik support having multiple usernames.
If you want multiple accounts on your clients you have to create multiple accounts on Pocket ID.
@kmendell commented on GitHub:
This is my opinion, but if we were to add something like that , i feel like it introduces complexity to pocket-id which is against the principles of the project. I will have to defer to @stonith404 to see what he wants to do.
@trumblejoe commented on GitHub:
I think we could maintain email uniqueness as the source of the identity,
it would be helpful to have username aliases (by using a Slice on username?). It looks like the passkey is currently
stored in my password manager under the username so this would still allow
multiple usernames per user.
On Sun, Mar 2, 2025, 9:15 PM Kyle Mendell @.***> wrote:
@kmendell commented on GitHub:
I think this is a common thing, no? Emails should be unique in my eyes. For example if you sign up for a website and the email is already in use its errors out. What i do in my case i have a custom postfix relay setup and make email aliases for each of my users which then forwards to the email address.