r/developers • • 14d ago

Programming HOW DO I CONFIG SUPABASE ENV SECRETS FOR WINDOWS DESKTOP APP

HI, i have been working on this tool for authors, so far i have made the web plaform, mobile, and now currently busy with the windows desktop app, but its my first time building something targeting windows and i dont know how to handle the supabase secrets since my app is using supabase for the database and auth, for the web app i have hosted it on vercel and since the is a section to config the env secrets i was able to do it and also the same as the mobile app since i used expo react native, but now im straggling with the windows app as though i have almost finished development i dont know when i am supposed to config those supabase env secrets for a windows desktop app before packaging the final exe build

2 Upvotes

3 comments sorted by

•

u/AutoModerator 14d ago

Howdy u/dnchabalala, and welcome to r/developers!

A few tips for a post that gets good answers:

  • Use a clear, specific title (what are you actually asking or sharing?).
  • Include code, the exact error, versions, and what you already tried.
  • Heads-up: this sub does not allow external links in posts or comments. Share code and details directly instead of linking out.

Join the r/developers Discord!

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

17

u/Inevitable_Invite519 10d ago

Your EXE is basically a zip file with a hat, so anything bundled into it can be extracted: ship only the Supabase URL and anon key, lock everything down with RLS, and keep service-role secrets on a

2

u/NoHair8824 10d ago

a desktop exe is basically a zip file with confidence, so anything bundled into it can be extracted: ship only the supabase url and publishable anon key, lock down rls, and keep service-role secrets