[GH-ISSUE #1438] not working in solidstart with mongodb #17386

Closed
opened 2026-04-15 15:31:25 -05:00 by GiteaMirror · 1 comment
Owner

Originally created by @ankurpowar on GitHub (Feb 14, 2025).
Original GitHub issue: https://github.com/better-auth/better-auth/issues/1438

I have added a page , which includes a form for sign-up only, but after submitting i am getting undefined response (server Unavailble).
Here's the repo link to reproduce it:
https://github.com/criticDev/solidstart-betterauth-mongodb.git

and my .env is as follows:

BETTER_AUTH_SECRET="SomeTokenButIDontKnowForWhatSomeTokenButIDontKnowForWhatSomeTokenButIDontKnowForWhat"
BETTER_AUTH_URL="http://localhost:3000"
MONGO_URI="mongodb://localhost:27017/better-auth-testing"

Can somebody explain what am i doing wrong?

Originally created by @ankurpowar on GitHub (Feb 14, 2025). Original GitHub issue: https://github.com/better-auth/better-auth/issues/1438 I have added a page , which includes a form for sign-up only, but after submitting i am getting undefined response (server Unavailble). Here's the repo link to reproduce it: https://github.com/criticDev/solidstart-betterauth-mongodb.git and my .env is as follows: BETTER_AUTH_SECRET="SomeTokenButIDontKnowForWhatSomeTokenButIDontKnowForWhatSomeTokenButIDontKnowForWhat" BETTER_AUTH_URL="http://localhost:3000" MONGO_URI="mongodb://localhost:27017/better-auth-testing" Can somebody explain what am i doing wrong?
GiteaMirror added the locked label 2026-04-15 15:31:25 -05:00
Author
Owner

@Kinfe123 commented on GitHub (Apr 12, 2025):

may be check MongoDB might not be running locally or needs a credential to authenticate.

<!-- gh-comment-id:2798863733 --> @Kinfe123 commented on GitHub (Apr 12, 2025): may be check MongoDB might not be running locally or needs a credential to authenticate.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/better-auth#17386