fix(portal): NextAuth redirect loop and production NEXTAUTH_URL docs

- Remove pages.signIn pointed at API route; normalize redirects for LAN callbacks
- signIn callbackUrl /; auth error page Try Again to /
- Add .env.example; README documents public NEXTAUTH_URL (sankofa.nexus)

Made-with: Cursor
This commit is contained in:
defiQUG
2026-03-26 18:56:56 -07:00
parent 0a7b4f320b
commit 28892a4ce4
5 changed files with 68 additions and 19 deletions

View File

@@ -35,7 +35,7 @@ function AuthErrorContent() {
Go Home
</Link>
<Link
href="/api/auth/signin"
href="/"
className="px-6 py-3 bg-gray-600 text-white rounded-lg hover:bg-gray-700 transition-colors inline-block"
>
Try Again