Estou tentando a hora gerar um sistema de login simples para proteger meu sistema e quando ele gera a pagina de login não consegue logar, ou fica em loop ou entra e redireciona, tenta aplicar varios fix um depois do outro e nunca consegue resolver o problema, ja consumiu quase 10 usd e nada de funcionar.
Hey @cwkcomercio-6396! Welcome to the Vercel Community
It would be helpful if you could share a chat link with us so we can take a look. I noticed you’re new in the community, cross-posting this in case it’s helpful:
What authentication approach are you using right now? I’d recommend using Next.js with NextAuth.js or similar proven solutions rather than building from scratch. This handles most of the complex session management automatically.
Or even Clerk:
1 Like