A2m
A2m
BABetter Auth
Created by A2m on 4/21/2025 in #help
API Organisation Types
Hi, In the documentation, it only mentions using the authClient to interact with organizations, but I have a need to manage them from the backend. So I tried to see if something like auth.api.organization existed, but couldn't find any trace of it. Could you point me in the right direction?
3 replies
BABetter Auth
Created by A2m on 3/7/2025 in #help
Invalid body parameters
Hello ! I have a very strange problem, i'am switching my backend from NextJS to AdonisJS, I'm setting up better-auth on AdonisJS (NodeJS Framework) but i have a problem when i call this endpoint : POST / http://localhost:3333/api/auth/sign-in/email / { "email":"[email protected]","password":"Test"} And (maybe) better-auth return this : { "code": "VALIDATION_ERROR", "message": "Invalid body parameters" } Front -> NextJS -> signIn.email Backend -> AdonisJS --- I haven't found any similar problems on the discord/github
6 replies