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

[Bug] Password Resetting/Magic Code email not being sent #7847

Open
elo-marciello opened this issue Jun 2, 2024 · 6 comments
Open

[Bug] Password Resetting/Magic Code email not being sent #7847

elo-marciello opened this issue Jun 2, 2024 · 6 comments
Assignees
Labels
bug needs-more-detail Needs more details to start on task, to reproduce or fix
Milestone

Comments

@elo-marciello
Copy link

elo-marciello commented Jun 2, 2024

I tried to Reset My password a few times in the span of last 2 weeks, never once did a email arrive to my inbox.
Same For the magic code.

Edit: did some testing and it goes only for Gauzy Desktop app, for example the teams website did send me the magic codes without any problem.

@evereq evereq changed the title Password Reseting/Magic Code email not beeing sent [Bug] Password Resetting/Magic Code email not being sent Jun 2, 2024
@evereq evereq self-assigned this Jun 2, 2024
@evereq evereq added needs-more-detail Needs more details to start on task, to reproduce or fix bug labels Jun 2, 2024
@evereq evereq added this to the v0.5 milestone Jun 2, 2024
@evereq
Copy link
Member

evereq commented Jun 2, 2024

@elo-marciello so just to understand, you tried to do a password reset where!? From Desktop apps? Which one exactly? Or you tried also from https://app.gauzy.co/#/auth/request-password?

@elo-marciello
Copy link
Author

Sorry for the lack of Details:
I tried to Reset The password via the Gauzy desktop app (Version v0.493.15) and the Gauzy Desktop Timer (Version v0.493.15), in the login screen i clicked on "Forgot Password" and got redirected to "https://app.gauzy.co/#/auth/request-password"
For both apps my server Type is "Live" and the status is "Connection to Server https://api.gauzy.co Succeeds", Anyways, On the Gauzy desktop app (Version v0.493.15), i had some luck and it did send me a email, twice with the "Reset Your Password: Choose Your Tenant - Gauzy Account", but the request of resetting a password via The Desktop Timer app never comes through.

Gauzy_Desktop_Timer_a8etzu9dod

My account is a Multi-tenant one, which is probably the cause of it. (I actually didn't intend it to be like that, I use only one account, the other ones were a unsuccessful attempt on logging in)

@elo-marciello
Copy link
Author

Okay, so I received the "Reset Your Password: Choose Your Tenant - Gauzy Account" and I have chosen to reset the password of the wanted Tenant, After successfully doing so (According to the Confirmation Screen), I still cannot login to the account even if I Use the same email where the Reset Request was sent to and the freshly changed password that was copied into the clipboard. Something isn't adding up. For now the only way i can log in to my account is The magic code, which is not an option in the Timer app so I have to switch to Full Gauzy desktop version.

@evereq
Copy link
Member

evereq commented Jun 3, 2024

@rahul-rocket can you do a quick test - create a user in live with some email registered in 3 tenants and try to reset the password and see if you can login into each tenant using that email that sent reset links with tenants selection inside the email message etc. According to @elo-marciello, we may have some bug there somewhere....

@evereq
Copy link
Member

evereq commented Jun 3, 2024

Basically how I remember it should work - you reset password for user in ONE of tenants and using that new password you should be able to login to THAT tenant only.
@elo-marciello when you reset password, did you tried to enter NEW password? Because maybe the problem that you try to reuse same password for many tenants...
Let me explain a bit how it works:

  • for each Tenant (think about it as Workspace), user with same email (e.g. [email protected]) have different password.
  • when user try to login using email / password combination, we check in which tenant user password match one that user try to submit and if it's match we login to that tenant (match hash of course, not plain text, but now it's not relevant)
  • so for all to work, you need to make sure password is DIFFERENT for each tenant, otherwise system will not know to which tenant to login (@rahul-rocket maybe this is where issue come from!? Can you check code for such edge case if user try to reset password, but enter SAME password as already used for other tenant for that user)

@elo-marciello
Copy link
Author

elo-marciello commented Jun 4, 2024

Alrighty, I've set a unique password For each Tenant, Tried to login to the correct one that I have been mainly using: "Login/Email combination is not correct, please try again", keep in mind I'm logging in via Google passwords system that copies the email and password letter for letter so there is no mistake when it comes to what I'm inputting. Tried to change password to a different one two more times (only for the main tenant this time), still password is not correct. I did make sure that the password that I'm changing to is a completely fresh never before inputted one also.

email: [email protected]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug needs-more-detail Needs more details to start on task, to reproduce or fix
Projects
None yet
Development

No branches or pull requests

2 participants