2 questions
-1
votes
0
answers
18
views
How i can handle better auth onApiError?
enter image description here
I have configured better auth in backend:
import { AuthContext, betterAuth } from "better-auth";
import { prismaAdapter } from "better-auth/adapters/prisma&...
0
votes
0
answers
46
views
Why I have to reload before I see if I'm logged in or not
I'm kind of new to using next.js and better-auth etc. I created an authentication system but the problem is, if I log in, I have to reload the page manually before I see the status changes like the ...