BA
Better Auth•4d ago
ker

"/api/auth/*" rule fails on express ^5.0.0

Express changed their handling of wildcards in 5.0.0. This results in the * to do something else than intended by better auth. Maybe you could add a note in the docs or add the correct way of handling new express versions
3 Replies
netcrawler
netcrawler•4d ago
interesting .... this might be the reason i wasn't able to make it work earlier
ker
kerOP•4d ago
I simply downgraded to the latest 4.x version 🙂
netcrawler
netcrawler•4d ago
oh me too

Did you find this page helpful?