[GH-ISSUE #2367] httpOnly cookie not being set after calling auth.api.signUpEmail() with autoSignIn: true #26490

Closed
opened 2026-04-17 17:05:07 -05:00 by GiteaMirror · 0 comments
Owner

Originally created by @taylor-lindores-reeves on GitHub (Apr 19, 2025).
Original GitHub issue: https://github.com/better-auth/better-auth/issues/2367

I have a secondary storage which is successfully setting the 'active-sessions-userId' when I call auth.api.signUpEmail() in the callbackOnVerification() function (after OTP verification), but it's not setting the cookie in the browser. Any idea why?

Originally created by @taylor-lindores-reeves on GitHub (Apr 19, 2025). Original GitHub issue: https://github.com/better-auth/better-auth/issues/2367 I have a secondary storage which is successfully setting the 'active-sessions-userId' when I call auth.api.signUpEmail() in the callbackOnVerification() function (after OTP verification), but it's not setting the cookie in the browser. Any idea why?
GiteaMirror added the locked label 2026-04-17 17:05:07 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/better-auth#26490