We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 31b86b4 commit a869fb7Copy full SHA for a869fb7
1 file changed
frontend/src/lib/hooks/oidc.ts
@@ -1,10 +1,10 @@
1
import { z } from "zod";
2
3
export const oidcParamsSchema = z.object({
4
- scope: z.string().nonempty(),
5
- response_type: z.string().nonempty(),
6
- client_id: z.string().nonempty(),
7
- redirect_uri: z.string().nonempty(),
+ scope: z.string().min(1),
+ response_type: z.string().min(1),
+ client_id: z.string().min(1),
+ redirect_uri: z.string().min(1),
8
state: z.string().optional(),
9
nonce: z.string().optional(),
10
code_challenge: z.string().optional(),
0 commit comments