Mattèo
Explore posts from serversBABetter Auth
•Created by Mattèo on 4/27/2025 in #help
How to handle phoneNumber.sendOtp errors ? Only 500 is returned
Noticed this also happens in the MagicLink plugin, error thrown in the
sendMagicLink
method are not returning 500 error..5 replies
BABetter Auth
•Created by Mattèo on 4/27/2025 in #help
How to handle phoneNumber.sendOtp errors ? Only 500 is returned
hey thanks for your reply, that might fit for a temporary solution..
5 replies
BABetter Auth
•Created by Mattèo on 2/4/2025 in #help
Is it a possible to use enum as type for fields in additionalFields ?
With Prisma generated client
19 replies
BABetter Auth
•Created by Mattèo on 2/4/2025 in #help
Is it a possible to use enum as type for fields in additionalFields ?
Thanks a lot for your help @bekacru @Phantom ! ✅✅✅
19 replies
BABetter Auth
•Created by Mattèo on 2/4/2025 in #help
Is it a possible to use enum as type for fields in additionalFields ?
oh yes I see
19 replies
BABetter Auth
•Created by Mattèo on 2/4/2025 in #help
Is it a possible to use enum as type for fields in additionalFields ?

19 replies
BABetter Auth
•Created by Mattèo on 2/4/2025 in #help
Is it a possible to use enum as type for fields in additionalFields ?
thanks, this implementation kind of work, but the Prisma adapter creates a String[] instead of a reference to an enum.
19 replies
Using @hono/auth-js with one API server (auth) and one web server (front) ?
Thanks for your explanation, I completely understand the design choice of targeting full stack framework app, some devs like me have different needs in the age of "server first" / "RSC" / "meta-framework" 😅
17 replies
BABetter Auth
•Created by Mattèo on 2/4/2025 in #help
Is it a possible to use enum as type for fields in additionalFields ?
No problem, but the TS error is still appearing
19 replies
BABetter Auth
•Created by Mattèo on 2/4/2025 in #help
Is it a possible to use enum as type for fields in additionalFields ?
None of these implementations works for me, I got TS errors (even this snippet ⬆️)
19 replies
BABetter Auth
•Created by Mattèo on 2/4/2025 in #help
Is it a possible to use enum as type for fields in additionalFields ?
Yes exactly, i'm using Prisma as database adapter and I have a
role: Role?
field19 replies
BABetter Auth
•Created by Mattèo on 1/30/2025 in #help
Hono + Bun gives a 404 on /api/auth/ok endpoint
Very strange ...
7 replies
BABetter Auth
•Created by Mattèo on 1/30/2025 in #help
Hono + Bun gives a 404 on /api/auth/ok endpoint
Yes, I solved the issue by reordering them, checkout the code changes in this PR to fix the issue https://github.com/better-auth/better-auth/pull/1317
7 replies
BABetter Auth
•Created by Mattèo on 1/30/2025 in #help
Hono + Bun gives a 404 on /api/auth/ok endpoint
Problem solved the
/api/auth/**
handler is not well written, change it to /api/auth/*
(PR that solve the issue in better-auth docs https://github.com/better-auth/better-auth/pull/1317)7 replies
Hono + Bun + Better Auth 404 error when using app.route
Problem solved the
/api/auth/**
handler is not well written, change it to /api/auth/*
(PR that solve the issue in better-auth docs https://github.com/better-auth/better-auth/pull/1317)2 replies