You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There are inconsistencies in the login and account creation process, particularly when using the "Sign in with Google" option and then attempting to log in using email/username and password. The following behaviors are observed:
Sign in with Google (without setting a password)
(already created an account and entered the username).
Expected: Attempting to log in with email/username should return an error indicating that the account does not have a password.
Actual: The error returned is "User not found."
sign.in.without.setting.password.webm
Sign in with Google (after setting a password)
Expected: Logging in using email/username and password should work.
Actual: "User not found" error appears, and no logs are generated.
after.setting.password.webm
Account Creation and Username/Email Handling Issues :
( note : This method is performed when I have already created an account using sign in with google and then I have tried to create an account)
If trying to create an account with an existing email but a unique username:
Expected: A UI error stating "Email is already in use. Try a different email."
log : The error message is unclear: {success: false, error: 'Something went wrong. Please check your credentials. [403]', errorType: 403}.
unique.username.create.account.webm
Steps to reproduce:
Go to the login page.
Sign in using Google without setting a password.
Try logging in using email/username.
Observe the "User not found" error instead of a "No password set" error.
Set a password and try logging in with email/username.
Observe that the error "User not found" persists with no logs.
Attempt to create an account with an existing username.
Observe that the UI correctly shows "Username already exists."
Attempt to create an account with an existing email but a unique username.
Observe that the error message is unclear (Something went wrong. Please check your credentials. [403]).
Expected behavior:
When logging in with email/username without setting a password, the system should return an error indicating "This account doesn't have a password!" instead of "User not found."
When logging in after setting a password, authentication should succeed if credentials are correct; otherwise, an appropriate error should be displayed.
*If the email is already registered, the UI should clearly state "Email is already in use. Try a different email." instead of a generic error.
Actual behavior:
"User not found" error appears in cases where a "No password set" error is expected.
Logging in after setting a password still results in "User not found" with no logs.
The error message for duplicate email registration is unclear (Something went wrong. Please check your credentials. [403]).
Server Setup Information:
using open.rocket.chat
Client Setup Information
Desktop App or Browser Version: google and firefox
Operating System:Ubuntu 24.04.1 LTS
Additional context
Relevant logs:
Sign in with Google (without setting a password):
no logs generated.
Sign in with Google (after setting a password):
no logs are generated.
Account Creation and Username/Email Handling Issues:
🔹 Fix 1: Upon login using email/username and password without setting up the password should give me this account does not have a password
🔹 Fix 2: Ensure Authentication Works After Setting a Password .
🔹 Fix 3: Improve Error Messages for Duplicate Email Registration
The text was updated successfully, but these errors were encountered:
Description:
There are inconsistencies in the login and account creation process, particularly when using the "Sign in with Google" option and then attempting to log in using email/username and password. The following behaviors are observed:
Sign in with Google (without setting a password)
(already created an account and entered the username).
Expected: Attempting to log in with email/username should return an error indicating that the account does not have a password.
Actual: The error returned is "User not found."
sign.in.without.setting.password.webm
Sign in with Google (after setting a password)
Expected: Logging in using email/username and password should work.
Actual: "User not found" error appears, and no logs are generated.
after.setting.password.webm
Account Creation and Username/Email Handling Issues :
( note : This method is performed when I have already created an account using sign in with google and then I have tried to create an account)
If trying to create an account with an existing email but a unique username:
Expected: A UI error stating "Email is already in use. Try a different email."
log : The error message is unclear: {success: false, error: 'Something went wrong. Please check your credentials. [403]', errorType: 403}.
unique.username.create.account.webm
Steps to reproduce:
Go to the login page.
Sign in using Google without setting a password.
Try logging in using email/username.
Observe the "User not found" error instead of a "No password set" error.
Set a password and try logging in with email/username.
Observe that the error "User not found" persists with no logs.
Attempt to create an account with an existing username.
Observe that the UI correctly shows "Username already exists."
Attempt to create an account with an existing email but a unique username.
Observe that the error message is unclear (Something went wrong. Please check your credentials. [403]).
Expected behavior:
When logging in with email/username without setting a password, the system should return an error indicating "This account doesn't have a password!" instead of "User not found."
When logging in after setting a password, authentication should succeed if credentials are correct; otherwise, an appropriate error should be displayed.
*If the email is already registered, the UI should clearly state "Email is already in use. Try a different email." instead of a generic error.
Actual behavior:
"User not found" error appears in cases where a "No password set" error is expected.
Logging in after setting a password still results in "User not found" with no logs.
The error message for duplicate email registration is unclear (Something went wrong. Please check your credentials. [403]).
Server Setup Information:
Client Setup Information
Additional context
Relevant logs:
no logs generated.
no logs are generated.
Proposed fixes
🔹 Fix 1: Upon login using email/username and password without setting up the password should give me this account does not have a password
🔹 Fix 2: Ensure Authentication Works After Setting a Password .
🔹 Fix 3: Improve Error Messages for Duplicate Email Registration
The text was updated successfully, but these errors were encountered: