remove default open

This commit is contained in:
Maidul Islam
2025-03-17 21:51:47 -04:00
parent c8a871de7c
commit 78f83cb478

View File

@@ -53,7 +53,7 @@ const schema = z.object({
value: z.string()
})
)
.default([{ key: "", value: "" }]),
.default([]),
claimMetadataMapping: z
.array(
z.object({
@@ -61,7 +61,7 @@ const schema = z.object({
value: z.string()
})
)
.default([{ key: "", value: "" }]),
.default([]),
boundSubject: z.string().optional().default("")
});
@@ -107,8 +107,8 @@ export const IdentityOidcAuthForm = ({
accessTokenMaxTTL: "2592000",
accessTokenNumUsesLimit: "0",
accessTokenTrustedIps: [{ ipAddress: "0.0.0.0/0" }, { ipAddress: "::/0" }],
boundClaims: [{ key: "", value: "" }],
claimMetadataMapping: [{ key: "", value: "" }]
boundClaims: [],
claimMetadataMapping: []
}
});
const {
@@ -170,12 +170,13 @@ export const IdentityOidcAuthForm = ({
caCert: "",
boundIssuer: "",
boundAudiences: "",
boundClaims: [{ key: "", value: "" }],
boundClaims: [],
boundSubject: "",
accessTokenTTL: "2592000",
accessTokenMaxTTL: "2592000",
accessTokenNumUsesLimit: "0",
accessTokenTrustedIps: [{ ipAddress: "0.0.0.0/0" }, { ipAddress: "::/0" }]
accessTokenTrustedIps: [{ ipAddress: "0.0.0.0/0" }, { ipAddress: "::/0" }],
claimMetadataMapping: []
});
}
}, [data]);