glowy
Explore posts from serversBABetter Auth
•Created by glowy on 2/22/2025 in #help
Is it possible / advisable to customize user table name and ids?
For instance, for our app (using Drizzle) our standard table naming convention is plural (users) and our ids have a prefix (usr_Y3lMhLkh7xdC0t). Is this possible to implement in BetterAuth. And is it advisable? If there's a chance things will break at some point or be more difficult to work with, particularly with renaming the table names, then we'll just keep everything standard. But if it's possible to adapt to our standards without additional friction, that would obviously be a bit nicer.
3 replies
BABetter Auth
•Created by glowy on 2/21/2025 in #help
How do you deleteUser from server side?
Calling
auth.api.deleteUser
seems to require { body: {} }
which takes a token and things like that. I just wanna pass in a userId...3 replies
How can I use a fork of trpc-next?
Hey there, I've made a fork of @trpc in order to fix an issue inside of @trpc/next. I can build it and manually use it in my code. However, I'm struggling to reference the package directly from github in yarn. I put the following in my package.json file:
I'm getting an error when trying to run
yarn
Any idea what I might be doing wrong?2 replies