rancher / dashboard

The Rancher UI
https://rancher.com
Apache License 2.0
462 stars 261 forks source link

Dashboard auth [FreeIPA, openldap and AD] Users shouldn't be logged out for incorrect auth credentials #2258

Closed anupama2501 closed 3 years ago

anupama2501 commented 3 years ago

Rancher | v2.5-2ec02e753d1c5c428b8eff9681ad3f72553829aa-head User Interface | v2.5-dev Helm | v2.16.8-rancher1 Machine | v0.15.0-rancher49

On dashboard, for LDAP auths [FreeIPA, openldap and AD] From the auth providers, for freeIPA, openLDAP and AD provide all the details and for the "Test and Enable Authentication[username/password]", provide incorrect details and when we click on enable, users are logged out of session and made to reauthenticate.

Screen Shot 2021-01-28 at 8 17 58 AM Screen Shot 2021-01-28 at 8 20 18 AM

Should have been a warning message as on ember UI:

Screen Shot 2021-01-28 at 8 38 20 AM
anupama2501 commented 3 years ago

https://github.com/rancher/dashboard/issues/2114

anupama2501 commented 3 years ago

Verified on

Rancher | v2.5-761c805d8190692f2a29744cbd373cf14fd1c0e5-head User Interface | v2.5-dev Helm | v2.16.8-rancher1 Machine | v0.15.0-rancher50

OpenLDAP, FreeIPA and AD: from dashboard auth providers, gave incorrect password for all the three providers. Users are not logged out and a warning as follows is shown:

Screen Shot 2021-02-10 at 7 55 02 AM Screen Shot 2021-02-10 at 7 56 53 AM