Certain endpoints not working

After days of struggling I finally got a copy of BetterAuth to work with a fresh copy of Elysia and Prisma. Then I moved on to port an old project from Lucia to BetterAuth, signing in and signing up is working, same goes for creating a new organization, but listing organizations as well as any of the other BetterAuth endpoints shown in swagger all return a 404 not found, as in route does not exist. How can some routes work and others not.
1 Reply
Chola
CholaOP2mo ago
Mounting the handler on /auth and setting the basePath as /auth caused my other project to work perfectly as localhost:3000/auth/* But now the exact same setup and only sign-up/email and sign-in/email works, together with creating an organization, that's all Found that there's a conflict with Elysia's staticPlugin plugin

Did you find this page helpful?