Testing Auth API using postman
I'm running separate backend (hono js) and frontend (react vite). I want to build backend and frontend separately and test them individually. Unfortunately, I couldn't find any documentation server endpoints to check auth API. It seems like better auth forces using their SDK for everything.
What I want: test my backend only using API clients such as postman, insomnia.
Can anyone find solution for this use case?
2 Replies
you can use the open api plugin to see the endpoints so you can test them with postman or other http client
https://www.better-auth.com/docs/plugins/open-api
Open API | Better Auth
Open API reference for Better Auth.
Thank you so much. This helped a lot!