diff --git a/src/routes/auth/+page.svelte b/src/routes/auth/+page.svelte index 1e9bc2d..08786ab 100644 --- a/src/routes/auth/+page.svelte +++ b/src/routes/auth/+page.svelte @@ -49,6 +49,10 @@ const redirectPath = querystringValue('redirect') || '/'; goto(redirectPath); } + else + { + goto(`${WEBUI_BASE_URL}/oauth/oidc/login`); + } }; const signInHandler = async () => { @@ -398,9 +402,6 @@ {$i18n.t('Continue with {{provider}}', { provider: 'GitHub' })} {/if} - {#if $config?.oauth?.providers?.oidc} - goto(`${WEBUI_BASE_URL}/oauth/oidc/login`); - {/if} {#if $config?.oauth?.providers?.oidc}