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
daanish
daanishOP5mo ago
we are using auth both mobile and web mobile is on flutter web is in react @Ping can we do it
Ping
Ping5mo ago
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.
daanish
daanishOP5mo ago
I only want to use email-otp and phone-otp
Ping
Ping5mo ago
Yes that should work fine.
daanish
daanishOP5mo ago
Ok thanks

Did you find this page helpful?