mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-06-21 06:11:45 +00:00
fix(tests): update tests for granular auth toggles
- Add new fields to AppConfig type and buildAppConfig factory - Update FE-PAGE-ADMIN-018: heading changed to "Authentication Methods" - Update FE-PAGE-ADMIN-053: oidc_only toggle removed from OIDC panel - Update FE-PAGE-LOGIN-007/017: mocks now include password_login/oidc_login - Update ADMIN-SVC-049: updateOidcSettings no longer writes oidc_only
This commit is contained in:
@@ -296,11 +296,18 @@ export interface AppConfig {
|
||||
demo_mode: boolean
|
||||
oidc_configured: boolean
|
||||
oidc_display_name?: string
|
||||
oidc_only_mode?: boolean
|
||||
has_maps_key?: boolean
|
||||
allowed_file_types?: string
|
||||
timezone?: string
|
||||
/** When true, users without MFA cannot use the app until they enable it */
|
||||
require_mfa?: boolean
|
||||
// Granular auth toggles
|
||||
password_login?: boolean
|
||||
password_registration?: boolean
|
||||
oidc_login?: boolean
|
||||
oidc_registration?: boolean
|
||||
env_override_oidc_only?: boolean
|
||||
}
|
||||
|
||||
// Translation function type
|
||||
|
||||
Reference in New Issue
Block a user