skidy
Explore posts from serversBABetter Auth
•Created by Furkan Özay on 4/12/2025 in #help
Redirect Problem
what's the point of the middleware if i had to check it again on the actual page?
8 replies
BABetter Auth
•Created by generator101 on 4/6/2025 in #help
How to update `api/auth/get-session` with new session data?
but nextCookies only works with server actions, but not on api calls
33 replies
BABetter Auth
•Created by generator101 on 4/6/2025 in #help
How to update `api/auth/get-session` with new session data?
thanks, i have missing configuration
33 replies
BABetter Auth
•Created by generator101 on 4/6/2025 in #help
How to update `api/auth/get-session` with new session data?
so it wouldn't be a string until i upload it
33 replies
BABetter Auth
•Created by generator101 on 4/6/2025 in #help
How to update `api/auth/get-session` with new session data?
File
is from the browser uploaded by the user, and then get its data to upload it to s3 now if the process is successful i couldn't get its url and update user33 replies
BABetter Auth
•Created by generator101 on 4/6/2025 in #help
How to update `api/auth/get-session` with new session data?
uploading it in client side wouldn't work and it's not safe
33 replies
BABetter Auth
•Created by generator101 on 4/6/2025 in #help
How to update `api/auth/get-session` with new session data?
but updating user with
File
will make typescript complain for not passing a string33 replies
BABetter Auth
•Created by generator101 on 4/6/2025 in #help
How to update `api/auth/get-session` with new session data?
but it would nice if i could update the session without refetching
33 replies
BABetter Auth
•Created by generator101 on 4/6/2025 in #help
How to update `api/auth/get-session` with new session data?
bruh,
refetch
function exist in authClient.useSession
33 replies
BABetter Auth
•Created by generator101 on 4/6/2025 in #help
How to update `api/auth/get-session` with new session data?
but with database hook, how can i make it accept
File
object?33 replies
BABetter Auth
•Created by generator101 on 4/6/2025 in #help
How to update `api/auth/get-session` with new session data?
i don't get this, but i'm using nextjs. should it work automatically? i'm not even sure how to manually set it
33 replies
BABetter Auth
•Created by generator101 on 4/6/2025 in #help
How to update `api/auth/get-session` with new session data?
is that the only way? i have to process image upload at server side to get the url. currently i'm doing this
or at least i could modify the client's session?
33 replies
BABetter Auth
•Created by Patrick on 4/12/2025 in #help
How to save custom fields (like address) in my database when admin creates a User?
have you tried this?
https://www.better-auth.com/docs/concepts/database#extending-core-schema
5 replies
BABetter Auth
•Created by skidy on 4/11/2025 in #help
getSession null
does this also work with routes?
11 replies
BABetter Auth
•Created by skidy on 4/11/2025 in #help
getSession null
authClient
within layout.tsx
11 replies
PPrisma
•Created by skidy on 3/31/2025 in #help-and-questions
Custom error becomes normal error
probably not a prisma problem sorry
3 replies
PPrisma
•Created by fynn on 12/23/2024 in #help-and-questions
Error validating datasource `db`: the URL must start with the protocol `prisma://`
what's the difference between them? when running on prisma.io for database, it tells me to use
@prisma/client/edge
for nextjs4 replies
PPrisma
•Created by skidy on 3/3/2025 in #help-and-questions
Case insensitive for unique constraint
how do i use it with
@@unique
?6 replies