feat: add OAuth APIs with scoped permissions (#1542)

Co-authored-by: Alessandro (Ale) Segala <43508+ItalyPaleAle@users.noreply.github.com>
This commit is contained in:
Elias Schneider
2026-07-06 12:25:02 -07:00
committed by GitHub
co-authored by Alessandro Segala
parent 0b2706a488
commit 09d196f7c5
68 changed files with 3945 additions and 157 deletions
@@ -32,6 +32,7 @@
children,
onInput,
labelFor,
readonly = false,
inputClass,
...restProps
}: HTMLAttributes<HTMLDivElement> &
@@ -43,6 +44,7 @@
disabled?: boolean;
inputClass?: string;
type?: 'text' | 'password' | 'email' | 'number' | 'checkbox' | 'date' | 'url';
readonly?: boolean;
onInput?: (e: FormInputEvent) => void;
} = $props();
@@ -64,7 +66,7 @@
<FormattedMessage m={description} />
{#if docsLink}
<a
class="relative text-black after:absolute after:bottom-0 after:left-0 after:h-px after:w-full after:translate-y-[-1px] after:bg-white dark:text-white"
class="relative text-black after:absolute after:bottom-0 after:left-0 after:h-px after:w-full after:-translate-y-px after:bg-white dark:text-white"
href={docsLink}
target="_blank"
>
@@ -91,6 +93,7 @@
bind:value={input.value}
{disabled}
oninput={(e) => onInput?.(e)}
{readonly}
/>
{/if}
{/if}