Auth.js constructs server-side redirects from origin only, ignoring the Next.js basePath. Explicitly including /hp-prod-tracker in pages.signIn ensures errors redirect to /hp-prod-tracker/login instead of /login. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| app | ||
| components | ||
| hooks | ||
| lib | ||
| stores | ||
| types | ||
| instrumentation.ts | ||
| middleware.ts | ||