mirror of
https://codeberg.org/MarkusThielker/next-ory.git
synced 2025-07-03 21:39:18 +00:00
NORY-46: add temporary form items for OAuth2 flows
This commit is contained in:
parent
ce28973dea
commit
b5bd353f43
2 changed files with 39 additions and 2 deletions
|
@ -302,8 +302,42 @@ export function CreateClientForm({ action }: CreateClientFormProps) {
|
|||
Configure allowed grant types and response types for this OAuth2 Client.
|
||||
</CardDescription>
|
||||
</CardHeader>
|
||||
<CardContent>
|
||||
|
||||
<CardContent className="space-y-4">
|
||||
<FormField
|
||||
control={form.control}
|
||||
name="grant_types"
|
||||
render={({ field }) => (
|
||||
<FormItem>
|
||||
<FormLabel>Grant types</FormLabel>
|
||||
<FormControl>
|
||||
{/* TODO: add multiselect component */}
|
||||
<Input value="TODO: add multiselect component" readOnly disabled/>
|
||||
</FormControl>
|
||||
<FormMessage/>
|
||||
</FormItem>
|
||||
)}
|
||||
/>
|
||||
<FormField
|
||||
control={form.control}
|
||||
name="response_types"
|
||||
render={({ field }) => (
|
||||
<FormItem>
|
||||
<FormLabel>Response types</FormLabel>
|
||||
<FormControl>
|
||||
{/* TODO: add multiselect component */}
|
||||
<Input value="TODO: add multiselect component" readOnly disabled/>
|
||||
</FormControl>
|
||||
<FormMessage/>
|
||||
</FormItem>
|
||||
)}
|
||||
/>
|
||||
<FormItem>
|
||||
<FormLabel>Access token type</FormLabel>
|
||||
<FormControl>
|
||||
<Input value="opaque" readOnly disabled/>
|
||||
</FormControl>
|
||||
<FormMessage/>
|
||||
</FormItem>
|
||||
</CardContent>
|
||||
</Card>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue