not working in solidstart with mongodb #672

Closed
opened 2026-03-13 07:59:50 -05:00 by GiteaMirror · 1 comment
Owner

Originally created by @ankurpowar on GitHub (Feb 14, 2025).

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). 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?
Author
Owner

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

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

@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#672