How to use better auth instance defined in different server in nextjs api route
Better auth is initiated in my api server and I would like to use it server side in a nextjs api route. Is there any neat way to call better auth in the api server? The Nextjs deployment in vercel doesn't have access to the db directly.
0 Replies