apache / apache/cloudstack

After removing SAML auth, user should be able to login via password directly

Offen
#6,672 5 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
type:improvement
Vorherrschende Sprache
Java
Sterne
3.1k
Forks
1.4k
Ø Merge
6 T. 19 Std.
Gemergte PRs (30 T.)
32

Beschreibung

##### ISSUE TYPE
* Bug Report

##### COMPONENT NAME
~~~
API via cmk
~~~

##### CLOUDSTACK VERSION
~~~
4.17.0.1
~~~

##### CONFIGURATION
N/A

##### OS / ENVIRONMENT
N/A

##### SUMMARY

##### STEPS TO REPRODUCE
~~~
step1: add user, add password for this user, play with this user.
step2: enable SAML SSO authentication for this user, either by webui or API
step3: When you choose to remove the SAML SSO authentication, via cmk : authorize samlsso enable=false userid=myuser id
step4: Try to login on webui with failure :)
~~~

##### EXPECTED RESULTS
User should be able to login on cloudstack web UI
When SSO is disable the field "source" on user table is SAML2DISABLED
When SSO has never been activated (and user is able to login via cloudstack directly) this field must be UNKNOWN.

##### ACTUAL RESULTS
User can't login on cloudstack web UI

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

Start with the cmk `authorize samlsso enable=false userid=myuser` flow and trace how the user table's `source` value affects Web UI password login. Reproduce the transition from SAML2DISABLED, verify that login succeeds after disabling SSO, and confirm users who never used SSO retain source UNKNOWN.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
java
Bereich
api, authentication
Issue-Typ
Bug
Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Aktivitätsstatus
Veraltet
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
35/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.