vijayatk3
BABetter Auth
•Created by vijayatk3 on 4/17/2025 in #help
How to set Bearer token in Next.js
Hello Everyone,
But I'm getting this error:
I believe it's because auth-client.ts is being run on the server side, where localStorage is unavailable.
Any help is appreciated!
11 replies
BABetter Auth
•Created by vijayatk3 on 4/8/2025 in #help
forgot password with Email OTP
Hi everyone! I'm working on a forgot password feature using Next.js, Prisma, and PostgreSQL.
When I submit the email on the forgot password page, and the email doesn't exist in the database, it doesn't show an error like "User email doesn't exist." It just silently fails.
Here's the code snippet I'm using:
Does anyone know how I can handle this and show an appropriate error message when the email is not found? Any help would be appreciated!
2 replies