Repository navigation
Conversation
CAS login: - Fill the real CAS form (#username/#password inside #fm1Input) and submit the visible button once the RSA public key is ready. - Treat only the /passport/v1/auth/cas callback carrying a ticket as success. - Keep the login window hidden when credentials are saved; re-show it only on wrong password, captcha/MFA, load failure or timeout. - Let the configuration guide and settings collect the CAS account/password. TOTP: - SettingsProfileLoader::normalizeTotpSecret extracts the secret from an otpauth:// URL, so users can paste the authenticator export link directly.
Yjiutong
force-pushed
the
codex/silent-cas-login-and-otpauth-totp
branch
from
November 6, 2026 18:18
de5e1b2 to
48d3d75
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
CAS 静默登录
#fm1Input内的#username、#password),待 RSA 公钥加载完成后点击可见的登录按钮,避免误触隐藏表单。/passport/v1/auth/cas回调携带ticket时判定登录成功。TOTP 密钥解析
SettingsProfileLoader::normalizeTotpSecret():当密钥输入为otpauth://链接(认证器导出的格式)时自动提取secret参数;普通明文密钥保持原样(仅去除首尾空白)。otpauth://链接。测试调整
configurationguidedialog_test的 CAS 用例改为断言凭据页,与新的 CAS 登录流程一致(原用例断言无凭据页,已不适用)。