Files
frigate/web/src/components/config-form/section-configs/proxy.ts
T

39 lines
877 B
TypeScript
Raw Normal View History

2026-02-27 09:55:36 -06:00
import type { SectionConfigOverrides } from "./types";
const proxy: SectionConfigOverrides = {
base: {
sectionDocs: "/configuration/authentication#proxy",
restartRequired: [],
fieldOrder: [
"header_map",
"logout_url",
"auth_secret",
"default_role",
"separator",
],
advancedFields: ["header_map", "auth_secret", "separator"],
liveValidate: true,
uiSchema: {
logout_url: {
"ui:options": { size: "lg" },
},
auth_secret: {
"ui:widget": "password",
2026-02-27 09:55:36 -06:00
"ui:options": { size: "md" },
},
2026-05-31 16:09:10 -05:00
default_role: {
"ui:widget": "defaultRole",
"ui:options": { size: "sm" },
},
2026-02-27 09:55:36 -06:00
header_map: {
"ui:after": { render: "ProxyRoleMap" },
},
"header_map.role_map": {
"ui:widget": "hidden",
},
},
},
};
export default proxy;