Can i use Better-auth api in nodejs which exposes my auth route to frontend on flutter
i am want to use better-auth in nodejs as server side auth and expose my api to frontend which is in flutter can we do it
5 Replies
we are using auth both mobile and web
mobile is on flutter
web is in react
@Ping can we do it
Only some plugins will work, those that require JS functionality to run on the front-end will not work. However for all other plugins it can work, and then on flutter you will have to manually make fetch calls to your back-end and manage cookies from the headers and stuff yourself.
I only want to use email-otp and phone-otp
Yes that should work fine.
Ok thanks