trigger.dev icon indicating copy to clipboard operation
trigger.dev copied to clipboard

[TRI-2630] Logging in with the same email but different case creates a new account

Open matt-aitken opened this issue 1 year ago • 4 comments

If you login with [email protected] and [email protected] you will create two accounts.

From SyncLinear.com | TRI-2630

matt-aitken avatar Jun 02 '24 20:06 matt-aitken

@matt-aitken kindly assign this issue to me, would like to contribute.

hunxjunedo avatar Jun 02 '24 21:06 hunxjunedo

[email protected] and [email protected] can be treated as equivalent because DNS specifies that domain names are to be compared in a case-insensitive manner. But the same is not true for the user/mailbox part of an address, that should actually be case sensitive so we should create multiple accounts for those.

image

matt-aitken avatar Jun 03 '24 08:06 matt-aitken

matt-aitken avatar Jun 03 '24 08:06 matt-aitken

@hunxjunedo I've assigned this to you 👍

I've also added some more comments above about what exactly should cause a duplicate and what shouldn't

matt-aitken avatar Jun 03 '24 08:06 matt-aitken