refac/enh: forward headers to tool server

This commit is contained in:
Timothy Jaeryang Baek
2025-09-01 01:52:10 +04:00
parent 487979859a
commit 77b65ccbfb
5 changed files with 32 additions and 14 deletions

View File

@@ -285,6 +285,10 @@
>
<option value="bearer">{$i18n.t('Bearer')}</option>
<option value="session">{$i18n.t('Session')}</option>
{#if !direct}
<option value="request_headers">{$i18n.t('Request Headers')}</option>
{/if}
</select>
</div>
@@ -301,6 +305,12 @@
>
{$i18n.t('Forwards system user session credentials to authenticate')}
</div>
{:else if auth_type === 'request_headers'}
<div
class={`text-xs self-center translate-y-[1px] ${($settings?.highContrastMode ?? false) ? 'text-gray-800 dark:text-gray-100' : 'text-gray-500'}`}
>
{$i18n.t('Forwards system user headers to authenticate')}
</div>
{/if}
</div>
</div>