mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-12-04 18:04:18 +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:
@@ -86,6 +86,9 @@ const admin: TranslationStrings = {
|
||||
'admin.oidcLoginHint': 'Gebruikers toestaan om in te loggen via SSO',
|
||||
'admin.oidcRegistration': 'Automatische SSO-provisioning',
|
||||
'admin.oidcRegistrationHint': 'Automatisch accounts aanmaken voor nieuwe SSO-gebruikers',
|
||||
'admin.oidcAutoRedirect': 'Direct naar SSO',
|
||||
'admin.oidcAutoRedirectHint':
|
||||
'Als inloggen met een wachtwoord uit staat, gaan bezoekers meteen naar de identiteitsprovider. Zet dit uit om eerst de inlogpagina met de SSO-knop te tonen.',
|
||||
'admin.envOverrideHint':
|
||||
'De instellingen voor inloggen met wachtwoord worden beheerd via de omgevingsvariabele OIDC_ONLY en kunnen hier niet worden gewijzigd.',
|
||||
'admin.lockoutWarning': 'Er moet minstens één inlogmethode ingeschakeld blijven',
|
||||
|
||||
Reference in New Issue
Block a user