fix: restore configurable redirect URI field – required when APP_URL is not set

This commit is contained in:
Brückner
2026-06-04 14:09:55 +02:00
parent f12f92aea8
commit 1289e2476c
2 changed files with 14 additions and 0 deletions

View File

@ -355,6 +355,19 @@ export default function Settings({ currentUser: _currentUser }: SettingsProps) {
onToggleShow={() => setShowAzureSecret(v => !v)}
/>
</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
label="Allowed Group"
hint="Object ID of an Azure AD group. If set, only members of this group can sign in."