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:
Maurice
2026-11-13 09:35:18 +01:00
parent d5d9428cf2
commit 924b4e0787
45 changed files with 227 additions and 8 deletions
+3
View File
@@ -133,6 +133,9 @@ const admin: TranslationStrings = {
'admin.oidcLoginHint': 'Izinkan pengguna masuk dengan SSO',
'admin.oidcRegistration': 'Penyediaan Otomatis SSO',
'admin.oidcRegistrationHint': 'Buat akun otomatis untuk pengguna SSO baru',
'admin.oidcAutoRedirect': 'Langsung ke SSO',
'admin.oidcAutoRedirectHint':
'Saat login dengan kata sandi nonaktif, pengunjung langsung diarahkan ke penyedia identitas. Matikan ini untuk menampilkan halaman login dengan tombol SSO terlebih dahulu.',
'admin.envOverrideHint':
'Pengaturan login kata sandi dikendalikan oleh variabel lingkungan OIDC_ONLY dan tidak dapat diubah di sini.',
'admin.lockoutWarning': 'Minimal satu metode login harus tetap aktif',