diff --git a/packages/frameworks-sveltekit/src/lib/components/SignIn.svelte b/packages/frameworks-sveltekit/src/lib/components/SignIn.svelte
index 3026ee9950..01f07c7df6 100644
--- a/packages/frameworks-sveltekit/src/lib/components/SignIn.svelte
+++ b/packages/frameworks-sveltekit/src/lib/components/SignIn.svelte
@@ -16,6 +16,7 @@
: options?.redirectTo
const redirect =
options instanceof FormData ? options.get("redirect") : options?.redirectTo
+ const redirectTo = callbackUrl
const authorizationParamsInputs = authorizationParams
? typeof authorizationParams === "string" && authorizationParams
@@ -38,6 +39,9 @@
{#if redirect}
{/if}
+ {#if redirectTo}
+
+ {/if}
{#if authorizationParamsInputs}
{#each Object.entries(authorizationParamsInputs) as [key, value]}