1
0
Fork 0
mirror of https://codeberg.org/MarkusThielker/next-ory.git synced 2025-07-04 13:59:17 +00:00

NORY-46: add initial create-client form to page

This commit is contained in:
Markus Thielker 2025-02-18 09:13:27 +01:00
parent 253ad4e2b0
commit 749974b7ec
3 changed files with 292 additions and 0 deletions

View file

@ -0,0 +1,12 @@
import { z } from 'zod';
export const clientFormSchema = z.object({
access_token_strategy: z.string().default('opaque').readonly(),
client_name: z.string().min(1, 'Client name is required'),
owner: z.string().min(1, 'Owner is required'),
scope: z.string(),
skip: z.boolean(),
logo_uri: z.string().url(),
tos_uri: z.string().url(),
policy_uri: z.string().url(),
});