mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-12-02 09:22:15 +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:
@@ -84,6 +84,9 @@ const admin: TranslationStrings = {
|
||||
'admin.oidcLoginHint': 'Zezwalaj użytkownikom na logowanie przez SSO',
|
||||
'admin.oidcRegistration': 'SSO Auto-Provisioning',
|
||||
'admin.oidcRegistrationHint': 'Automatycznie twórz konta dla nowych użytkowników SSO',
|
||||
'admin.oidcAutoRedirect': 'Od razu do SSO',
|
||||
'admin.oidcAutoRedirectHint':
|
||||
'Gdy logowanie hasłem jest wyłączone, odwiedzający od razu trafiają do dostawcy tożsamości. Wyłącz to, aby najpierw pokazać stronę logowania z przyciskiem SSO.',
|
||||
'admin.envOverrideHint':
|
||||
'Ustawienia logowania hasłem są kontrolowane przez zmienną środowiskową OIDC_ONLY i nie można ich tu zmienić.',
|
||||
'admin.lockoutWarning': 'Co najmniej jedna metoda logowania musi pozostać włączona',
|
||||
|
||||
Reference in New Issue
Block a user