NestJS Better Auth routes

Anyone else having Problems Calling the Better Auth routes in NestJS since yesterday. I get 404 Not Found. But i know the ressource exists and is correctly mapped in the Initialization
Solution:
https://github.com/ThallesP/nestjs-better-auth/issues/20 Issue here. Fix Pull Request has been created...
GitHub
/api/auth/* always return 404 · Issue #20 · ThallesP/nestjs-bet...
I am encountering an issue where all requests to endpoints under the /api/auth/* path result in a 404 Not Found error.This occurs even with a minimal project setup using better-auth and nestjs-bett...
Jump to solution
4 Replies
Guti
GutiOP2d ago
Local it works perfectly fine. But in produtction i cant access any auth route
Vishal Anton
Vishal Anton2d ago
is it? my app is still in dev, no complains so far
Guti
GutiOP23h ago
The problem is everything worked fine in production. But then i commited new changes. That had NOTHING to do with Better Auth and since then i get 404 Not Found. When i did a server rebase from the backup it worked fine again. But as soon as i do a redeploy and it pulls the new changes it doesnt work. When i do a test branch from the old commit and deploy it it also donesnt work. Somethings off
Solution
Guti
Guti20h ago
https://github.com/ThallesP/nestjs-better-auth/issues/20 Issue here. Fix Pull Request has been created
GitHub
/api/auth/* always return 404 · Issue #20 · ThallesP/nestjs-bet...
I am encountering an issue where all requests to endpoints under the /api/auth/* path result in a 404 Not Found error.This occurs even with a minimal project setup using better-auth and nestjs-bett...

Did you find this page helpful?