Merge pull request #17284 from xyb/feishucn

feat: add Feishu OAuth integration
This commit is contained in:
Tim Jaeryang Baek
2025-09-12 12:48:45 +04:00
committed by GitHub
4 changed files with 65 additions and 1 deletions
+10
View File
@@ -523,6 +523,16 @@
>
</button>
{/if}
{#if $config?.oauth?.providers?.feishu}
<button
class="flex justify-center items-center bg-gray-700/5 hover:bg-gray-700/10 dark:bg-gray-100/5 dark:hover:bg-gray-100/10 dark:text-gray-300 dark:hover:text-white transition w-full rounded-full font-medium text-sm py-2.5"
on:click={() => {
window.location.href = `${WEBUI_BASE_URL}/oauth/feishu/login`;
}}
>
<span>{$i18n.t('Continue with {{provider}}', { provider: 'Feishu' })}</span>
</button>
{/if}
</div>
{/if}