cloudstack icon indicating copy to clipboard operation
cloudstack copied to clipboard

ACS 4.19 | No Auth Failure Message Displayed when login Password is wrong

Open midhunpjos opened this issue 2 years ago • 2 comments

ISSUE TYPE
  • Bug Report
COMPONENT NAME
API, UI
CLOUDSTACK VERSION
4.19
CONFIGURATION

CS 4.19 Advanced Zone, Normal User Password Authentication

OS / ENVIRONMENT

Ubuntu 20,04

SUMMARY

When Logging in via UI if the password is wrong auth failure response is not received. The UI Progress Bar Keeps on Loading

STEPS TO REPRODUCE
Log In to UI, Give Correct Username and Incorrect Password. 
Auth Failure Response is not received.
EXPECTED RESULTS
If Password is Wrong we should get a message as " Failed to authenticate user"
ACTUAL RESULTS
No Auth Failure response is received

midhunpjos avatar Feb 15 '24 17:02 midhunpjos

@midhunpjos can you describe what you receive, or happens otherwise. I hope you can not login with the wrong password.

DaanHoogland avatar Feb 16 '24 10:02 DaanHoogland

I am able to reproduce this. While logging in, if the user doesn't exist it fails with a valid error image

If the user exists, but the password is wrong then loading starts on top and the UI gets stuck. I had to clean up my local storage to make the browser work again. image

vishesh92 avatar Feb 16 '24 12:02 vishesh92

Fixed in https://github.com/apache/cloudstack/pull/8671

yadvr avatar Apr 30 '24 13:04 yadvr

cc @vishesh92 pl check and re-open if I made an error in closing this?

yadvr avatar Apr 30 '24 13:04 yadvr

My bad, Vishesh advised me PR needs more work to merge. Re opening the issue.

yadvr avatar Apr 30 '24 14:04 yadvr

Fixed by #8671

DaanHoogland avatar May 30 '24 06:05 DaanHoogland