mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-07 13:27:46 +00:00
feat: resolved project slug short on get urls and improved error
message for oidc auth
This commit is contained in:
+8
-1
@@ -42,7 +42,14 @@ const schema = z.object({
|
||||
message: "Access Token Max TTL cannot be greater than 315360000"
|
||||
}),
|
||||
accessTokenNumUsesLimit: z.string(),
|
||||
oidcDiscoveryUrl: z.string().url().min(1),
|
||||
oidcDiscoveryUrl: z
|
||||
.string()
|
||||
.url()
|
||||
.min(1)
|
||||
.refine(
|
||||
(el) => !el.endsWith("/.well-known/openid-configuration"),
|
||||
"Please remove /.well-known/openid-configuration."
|
||||
),
|
||||
caCert: z.string().trim().default(""),
|
||||
boundIssuer: z.string().min(1),
|
||||
boundAudiences: z.string().optional().default(""),
|
||||
|
||||
Reference in New Issue
Block a user