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
New invited users attempting to register for Data Studio encounter a generic "Unexpected Error" message when their password doesn't meet the "Auth Password Policy" requirements (e.g., minimum length of 8 characters). This is misleading as it suggests an internal server error rather than an issue with the password itself.
Expected Behavior:
Upon entering an invalid formatted password, the user should receive a clear and specific error message detailing the password policy requirements. This could include:
Minimum password length.
Requirement for uppercase, lowercase characters, numbers and special characters.
Impact:
The unclear error message creates a confusing experience for new users.
Users might mistakenly believe there's a server issue instead of an issue with their password format.
This can lead to frustration and difficulty completing the registration or password reset process.
Additional Notes:
The same generic error message appears during password reset attempts when the new password doesn't meet the policy.
To Reproduce
Attempt to register for a new account or reset an existing password for Data Studio.
Access the registration or password reset link from your email.
During registration/reset, enter a password that violates at least one requirement of the "Auth Password Policy" (e.g., a password less than 8 characters long or lacking special characters).
Observe the error message displayed after attempting to submit the invalid password.
Directus Version
10.10.4
Hosting Strategy
Self-Hosted (Docker Image)
The text was updated successfully, but these errors were encountered:
I can't seem to find the upvote in this issue (and the old one is locked) but I consider this a basic quality of life feature. These low code db manager systems are usually used by none technical people and this problem can be an adoption obstacle. I encounter this problem when adopting the tool at our organization. A basic "password policy error message" would be sufficient. It could have a stock message for each of the three template options and you could customize it if you create a custom one. I've read the discussion on showing checkboxes if the password complies with each rule, but this may only delay a basic still sufficient fix. I can help coding a solution.
Describe the Bug
Description:
New invited users attempting to register for Data Studio encounter a generic "Unexpected Error" message when their password doesn't meet the "Auth Password Policy" requirements (e.g., minimum length of 8 characters). This is misleading as it suggests an internal server error rather than an issue with the password itself.
Expected Behavior:
Upon entering an invalid formatted password, the user should receive a clear and specific error message detailing the password policy requirements. This could include:
Impact:
The unclear error message creates a confusing experience for new users.
Users might mistakenly believe there's a server issue instead of an issue with their password format.
This can lead to frustration and difficulty completing the registration or password reset process.
Additional Notes:
The same generic error message appears during password reset attempts when the new password doesn't meet the policy.
![image](https://private-user-images.githubusercontent.com/129249191/316495912-24b3b802-b072-475d-98a0-58b8b0793072.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjI3MTMzNjIsIm5iZiI6MTcyMjcxMzA2MiwicGF0aCI6Ii8xMjkyNDkxOTEvMzE2NDk1OTEyLTI0YjNiODAyLWIwNzItNDc1ZC05OGEwLTU4YjhiMDc5MzA3Mi5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwODAzJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDgwM1QxOTI0MjJaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT1kYTNmNjVmNWU2ZWI5ZGZhZDMzYzljZGRhYzg2YTMwZTg0Njc0OTFmNTE0MzkyZGNmZTZiZTk2MzBhY2QyMjQ5JlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.oTcFVdZ3KCI3OIM-AXH03sqrsSOh1K4PW83v-yo1mzQ)
To Reproduce
Directus Version
10.10.4
Hosting Strategy
Self-Hosted (Docker Image)
The text was updated successfully, but these errors were encountered: