Henrik
Henrik
BABetter Auth
Created by Henrik on 3/25/2025 in #help
Question on authorization
Hey, I have a stupid question. However, I can't figure it out at the moment. When I make an api call (from my api with hono). The following always returns null: const session = await auth.api.getSession({ headers: c.req.raw.headers }); Do I need to explicitly include auth details in the fetch call?
8 replies
BABetter Auth
Created by Henrik on 3/13/2025 in #help
Handle check email verified
How do you handle the check if the account is already verified? I cannot access this data in the middleware and I am redirecting after the user navigated to a specific page which feels super off. Is there any better way?
26 replies