Ali Alnaghmoush
Explore posts from serversBABetter Auth
•Created by Ali Alnaghmoush on 5/6/2025 in #help
How to setup neon auth with better-auth

6 replies
How to add domain to database
How to add domain to database ''PostgreSQL" and enable SSL connection
Like: postgresql://postgre:[email protected]/postgre
1 replies
BABetter Auth
•Created by Ali Alnaghmoush on 11/12/2024 in #bug-reports
basePath does not work in Next.js
I move files form src/app/api/auth/[..all] to src/app/api/v1/auth/[..all]
and I add basePath to betterAuth -> basePath: "/api/v1/auth"
export const auth = betterAuth({
basePath:/api/v1/auth"
database: drizzleAdapter(db, { provider: "pg" }),
emailAndPassword: { enabled: true, autoSignIn: false },
});
when creating a new user i got this:
POST /api/auth/sign-up/email?currentURL=http%3A%2F%2Flocalhost%3A3000%2Fauth%2Fnew 404
the request path does not change to api/auth/auth/...
8 replies
BABetter Auth
•Created by Ali Alnaghmoush on 11/12/2024 in #bug-reports
DeprecationWarning: The `punycode` module is deprecated

5 replies
BABetter Auth
•Created by Ali Alnaghmoush on 10/22/2024 in #bug-reports
better-auth take big size when imported

4 replies