feat: resolved project slug short on get urls and improved error

message for oidc auth
This commit is contained in:
=
2025-09-23 02:07:35 +05:30
parent a1dc9ec78f
commit babd070b58
3 changed files with 14 additions and 7 deletions
@@ -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(""),