fix: restore configurable redirect URI field – required when APP_URL is not set
This commit is contained in:
@ -355,6 +355,19 @@ export default function Settings({ currentUser: _currentUser }: SettingsProps) {
|
|||||||
onToggleShow={() => setShowAzureSecret(v => !v)}
|
onToggleShow={() => setShowAzureSecret(v => !v)}
|
||||||
/>
|
/>
|
||||||
</FieldRow>
|
</FieldRow>
|
||||||
|
<div className="sm:col-span-2">
|
||||||
|
<FieldRow
|
||||||
|
label="Redirect URI"
|
||||||
|
hint="Must match exactly what is registered in Azure Portal → App registrations → Authentication. Leave blank to auto-derive from APP_URL."
|
||||||
|
>
|
||||||
|
<Input
|
||||||
|
value={azureRedirectUri}
|
||||||
|
onChange={setAzureRedirectUri}
|
||||||
|
placeholder={effectiveRedirectUri || 'https://…/api/auth/azure/callback'}
|
||||||
|
monospace
|
||||||
|
/>
|
||||||
|
</FieldRow>
|
||||||
|
</div>
|
||||||
<FieldRow
|
<FieldRow
|
||||||
label="Allowed Group"
|
label="Allowed Group"
|
||||||
hint="Object ID of an Azure AD group. If set, only members of this group can sign in."
|
hint="Object ID of an Azure AD group. If set, only members of this group can sign in."
|
||||||
|
|||||||
1
src/vite-env.d.ts
vendored
Normal file
1
src/vite-env.d.ts
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
/// <reference types="vite/client" />
|
||||||
Reference in New Issue
Block a user