We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 089994a commit bb646a9Copy full SHA for bb646a9
packages/frameworks-sveltekit/src/lib/client.ts
@@ -86,7 +86,7 @@ export async function signIn<Redirect extends boolean = true>(
86
87
const baseUrl = base ?? ""
88
89
- const signInUrl = `${baseUrl}/${
+ const signInUrl = `${baseUrl}/auth/${
90
provider === "credentials" ? "callback" : "signin"
91
}/${provider}`
92
@@ -151,7 +151,7 @@ export async function signOut<R extends boolean = true>(
151
} = options ?? {}
152
153
154
- const res = await fetch(`${baseUrl}/signout`, {
+ const res = await fetch(`${baseUrl}/auth/signout`, {
155
method: "post",
156
headers: {
157
"Content-Type": "application/x-www-form-urlencoded",
0 commit comments