Merge pull request #17284 from xyb/feishucn
feat: add Feishu OAuth integration
This commit is contained in:
@@ -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}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user