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: {
|
2026-05-20 16:59:01 -05:00
|
|
|
"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;
|