mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-12-04 09:54:14 +00:00
feat(auth): let admins keep the login page on OIDC-only instances (#2925)
A new app setting oidc_auto_redirect (default on) is part of the admin form and the public app config. Off, an instance without password login no longer sends visitors straight to the IdP: the login page shows its SSO button, also while the cached config is read. Admin toggle on desktop and phone.
This commit is contained in:
@@ -127,6 +127,9 @@ const admin: TranslationStrings = {
|
||||
'admin.oidcLoginHint': 'SSOでのログインを許可',
|
||||
'admin.oidcRegistration': 'SSO自動登録',
|
||||
'admin.oidcRegistrationHint': '新しいSSOユーザーを自動作成',
|
||||
'admin.oidcAutoRedirect': 'SSO に直接移動',
|
||||
'admin.oidcAutoRedirectHint':
|
||||
'パスワードログインがオフのとき、訪問者はすぐに ID プロバイダーへ移動します。オフにすると、先に SSO ボタン付きのログインページを表示します。',
|
||||
'admin.envOverrideHint': 'パスワードログイン設定は OIDC_ONLY 環境変数で制御されています。',
|
||||
'admin.lockoutWarning': '少なくとも1つのログイン方法を有効にしてください',
|
||||
'admin.requireMfa': '二要素認証(2FA)を必須にする',
|
||||
|
||||
Reference in New Issue
Block a user