[GH-ISSUE #556] Cannot signup users #8319

Closed
opened 2026-04-13 03:23:20 -05:00 by GiteaMirror · 2 comments
Owner

Originally created by @ASgmbv on GitHub (Nov 16, 2024).
Original GitHub issue: https://github.com/better-auth/better-auth/issues/556

I am using better-auth with fastify. As you can see on screenshots the signup endpoint returns 200 but with empty string data field and when I check the db the user is not created.

Screenshots

Screenshot 2024-11-17 at 00 59 17

Screenshot 2024-11-17 at 00 59 30
Screenshot 2024-11-17 at 01 00 03

Originally created by @ASgmbv on GitHub (Nov 16, 2024). Original GitHub issue: https://github.com/better-auth/better-auth/issues/556 I am using better-auth with fastify. As you can see on screenshots the signup endpoint returns 200 but with empty string data field and when I check the db the user is not created. **Screenshots** [ <img width="781" alt="Screenshot 2024-11-17 at 00 59 17" src="https://github.com/user-attachments/assets/c9435cd9-345a-4578-89fc-6a3fbc756674"> ](url) <img width="904" alt="Screenshot 2024-11-17 at 00 59 30" src="https://github.com/user-attachments/assets/5708bf36-4786-4042-b75e-003644744f2a"> <img width="1028" alt="Screenshot 2024-11-17 at 01 00 03" src="https://github.com/user-attachments/assets/51ea7a60-de01-4d79-9321-26494cbb485b">
GiteaMirror added the locked label 2026-04-13 03:23:20 -05:00
Author
Owner

@jadamita commented on GitHub (Jan 30, 2025):

What was the solution? If you don't mind sharing. @ASgmbv

<!-- gh-comment-id:2625690566 --> @jadamita commented on GitHub (Jan 30, 2025): What was the solution? If you don't mind sharing. @ASgmbv
Author
Owner

@brunowego commented on GitHub (Feb 7, 2025):

@jadamita take a look at this comment https://github.com/better-auth/better-auth/issues/599#issuecomment-2557799177, if you want an example you can find it here https://www.boilit.dev/b/nextjs-with-fastify-and-better-auth

<!-- gh-comment-id:2642733757 --> @brunowego commented on GitHub (Feb 7, 2025): @jadamita take a look at this comment https://github.com/better-auth/better-auth/issues/599#issuecomment-2557799177, if you want an example you can find it here https://www.boilit.dev/b/nextjs-with-fastify-and-better-auth
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/better-auth#8319