mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-11-27 07:07:31 +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 @@ export const APP_SETTINGS = {
|
||||
password_registration: { schema: flag, default: 'true', adminForm: true },
|
||||
oidc_login: { schema: flag, default: 'true', adminForm: true, managedLocked: true },
|
||||
oidc_registration: { schema: flag, default: 'true', adminForm: true, managedLocked: true },
|
||||
// Whether an instance without password login sends a visitor straight to the
|
||||
// identity provider. Off shows the login page with its SSO button first (#2925).
|
||||
oidc_auto_redirect: { schema: flag, default: 'true', adminForm: true, publicConfig: true },
|
||||
passkey_login: { schema: flag, default: 'false', adminForm: true },
|
||||
webauthn_rp_id: { schema: text, default: null, adminForm: true, managedLocked: true },
|
||||
webauthn_origins: { schema: text, default: null, adminForm: true, managedLocked: true },
|
||||
|
||||
Reference in New Issue
Block a user