belikebee
belikebee
BABetter Auth
Created by belikebee on 4/7/2025 in #help
Email Verification
I have default config like this. Everything works fine but i dont understand if we have some token verification by default and why Verification table is empty. Should i implement all verification logic by myself? Thanks for the answer emailVerification: { required: true, sendOnSignUp: true, autoSignInAfterVerification: true, expiresIn: 3600, // 1 hour sendVerificationEmail: async ({ user, url }) => { console.log('Sending verification email to', user.email); } } model Verification { id String @id @default(cuid()) identifier String value String expiresAt DateTime createdAt DateTime? updatedAt DateTime? @@map("verification") }
4 replies
BABetter Auth
Created by invocation97 on 2/7/2025 in #help
listUsers returns status 401 UNAUTHORIZED even though the current user is an admin.
yeah. it helped me...thx😍
11 replies
BABetter Auth
Created by invocation97 on 2/7/2025 in #help
listUsers returns status 401 UNAUTHORIZED even though the current user is an admin.
i have the same issue🥲
11 replies