DragonCoder99
Explore posts from serversBABetter Auth
•Created by DragonCoder99 on 2/18/2025 in #help
Using BcryptJS with Better-Auth
Hi everyone,
I’m looking for an example of how to use BcryptJS with Better-Auth. I have existing users with bcrypt-hashed passwords, so I need to configure the password option properly for both hashing and verifying passwords.
The documentation mentions:
"You can customize the password hashing function by setting the password option in the configuration. This option should include a hash function to hash passwords and a verify function to verify them."
However, I haven’t found any examples or further details, and this option isn’t listed in the options reference.
If anyone can provide an example or point me in the right direction, I’d really appreciate it!
Thanks!
7 replies
DTDrizzle Team
•Created by DragonCoder99 on 10/18/2024 in #help
Using UUID v7 with Drizzle?
Can I use UUID V7 or some other sortable ID primary column that is not a easy number?
3 replies
DTDrizzle Team
•Created by DragonCoder99 on 10/6/2024 in #help
pgEnum + Neon migrations type error
Please someone help me, I don't understand why I'm getting this error on migrations:
This is my user schema:
8 replies