diff --git a/src/routes/login/+server.ts b/src/routes/login/+server.ts
index f0a20fe..da37db3 100644
--- a/src/routes/login/+server.ts
+++ b/src/routes/login/+server.ts
@@ -3,25 +3,19 @@ import type { RequestHandler } from './$types';
export const GET: RequestHandler = async ({ url }) => {
const callbackUrl = url.searchParams.get('callbackUrl') || '/';
- // Create an auto-submitting form that POSTs to Auth.js signin
+ // Create a minimal page that immediately triggers auth in the same window
const html = `
- Redirecting to login...
-
+ Login
- Redirecting to login...
-
diff --git a/src/routes/logout/+server.ts b/src/routes/logout/+server.ts
index ab301f8..301b302 100644
--- a/src/routes/logout/+server.ts
+++ b/src/routes/logout/+server.ts
@@ -3,25 +3,19 @@ import type { RequestHandler } from './$types';
export const GET: RequestHandler = async ({ url }) => {
const callbackUrl = url.searchParams.get('callbackUrl') || '/';
- // Create an auto-submitting form that POSTs to Auth.js signout
+ // Create a minimal page that immediately triggers logout in the same window
const html = `
- Signing out...
-
+ Logout
- Signing out...
-