firasdib / Regex101

This repository is currently only used for issue tracking for www.regex101.com
3.21k stars 198 forks source link

My Expressions empty after company changed our corporate email suffix, ie from someaddress.com to ashortadd.com #2096

Open Dylan-M opened 1 year ago

Dylan-M commented 1 year ago

Bug Description

I had a bunch of saved regex for business purposes. After my email address was changed, I no longer have access to them. It is still the same email account, and this experience does not match any other provider that uses Google auth.

Reproduction steps

Have a corporate google account. Change the primary domain name on said account. Try to log in, all saved expressions are gone.

Expected Outcome

Saved expressions should still be present, as the actual backing Google account is still the same. Just the domain has changed.

Browser

FireFox 114.0.2 (64-bit) OSX

OS

OSX 13.4.1 (22F82)

firasdib commented 1 year ago

Thank you for bringing this to my attention. If i recall correctly, I used your email as the identifier for your account. Perhaps that’s bad practice? What else should I use?Vänliga hälsningar / Best regards,Firas DibOn 28 Jun 2023, at 19:32, Dylan Myers @.***> wrote: Bug Description I had a bunch of saved regex for business purposes. After my email address was changed, I no longer have access to them. It is still the same email account, and this experience does not match any other provider that uses Google auth. Reproduction steps Have a corporate google account. Change the primary domain name on said account. Try to log in, all saved expressions are gone. Expected Outcome Saved expressions should still be present, as the actual backing Google account is still the same. Just the domain has changed. Browser FireFox 114.0.2 (64-bit) OSX OS OSX 13.4.1 (22F82)

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you are subscribed to this thread.Message ID: @.***>

Dylan-M commented 1 year ago

Thank you for the quick response. I reviewed this document, and it looks like there is a concept of userId in their sample code: String userId = payload.getSubject(); Whereas you're currently using the email: String email = payload.getEmail();

Since the emails can be changed, as my case demonstrates, switching to the userId is likely the correct way to handle this.

In the meantime, would it be possible to transfer the ownership of regexes from my old email (we would need to communicate privately) to my new email?

firasdib commented 1 year ago

I understand, thank you for pointing it out. I will look into some sort of migration.

Yes, please email me your details on contact@regex101.com and I'll deal with it manually.