SolidStart Integration
Before you start, make sure you have a Better Auth instance configured. If you haven't done that yet, check out the installation.
Mount the handler
We need to mount the handler to SolidStart server. Put the following code in your *auth.ts
file inside /routes/api/auth
folder.