N
Nuxt7mo ago
Glass109

How to correctly store Supabase Service Key when using SPA Mode?

I'm using NuxtJS/Supabase module and it needs the Service Key on the .env to execute createClient(), but since it's a CRM, i want to make it a SPA for that native feel Is there a way to obfuscale it or prevent the key from being easly accesible when ssr is disabled?
2 Replies
LazyDali
LazyDali7mo ago
I believe this is not possible. If not in SSR, nothing can really be secured as everything happens on the client. The Service Key is not something you want to end up on the client.
manniL
manniL7mo ago
correct
Want results from more Discord servers?
Add your server