apache / apache/cloudstack

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

Ouverte
#6,672 5 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
type:improvement
Langage dominant
Java
Étoiles
3.1k
Forks
1.4k
Merge moyen
6 j 19 h
PR mergées (30 j)
32

Description

##### 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

Guide de contribution

Ouvrir le guide de contribution

Piste de recherche

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.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
java
Domaine
api, authentication
Type d'issue
Bug
Difficulté
4/5
Temps estimé
3-5 jours
Activité
À l'abandon
Clarté
Plutôt claire
Accessibilité débutants
35/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.