I would like to create a flutter betterauth_client package
Is it something realistic ?
I start looking on the native script package but do you have any guideline or tips to help me on my goal ?
8 Replies
yeah it's possible. At the end of the day better auth server is just HTTP server that you can communicate with any client.
just tips
- figure out a secure way to store cookies and send cookies directly in the headers when making authed requests
- figure out how to handle OAuth flows. Check the expo plugin for inspiration.
- figure out a good way to handle sessions.
- since client plugins are still made for js it might be a bit tough to support all plugins. And you may need to re-implement plugin api calls.
Thanks for tips
@Kevin are you working on this if yes i would love to contribute
No I was too busy, but I plan to start it soon.
i have started working on it do you wanna join in ??
Yes
great ig we could work on it together then
https://github.com/ekakshjanweja/better_auth_flutter
could you check this out its nothing much as of now i have integrated only email authentication
@Kevin dm me if you wanna work on this.
🔥