apache / apache/cloudstack

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

未关闭
#6,672 5 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
type:improvement
主要语言
Java
星标
3.1k
派生
1.4k
平均合并
6 天 19 小时
30 天内合并 PR
32

描述

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

贡献指南

打开贡献指南

调研方向

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.

由索引模型根据 Issue 内容生成。

评估

技术栈
java
领域
api, authentication
Issue 类型
缺陷
难度
4/5
预计耗时
3-5 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
35/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。