R
Refine

general

Hi all, I’m hoping someone can help me

Wwise-white3/8/2024
Hi all, I’m hoping someone can help me wrap my head around issues with API keys and environment variables in refine. Is it possible to avoid using environment variables that aren’t exposed to the browser (I.e., NEXTPUBLIC). Sorry I looked all around but couldn’t find an answer on how to secure my Airtable provider keys in refine😓
Eexotic-emerald3/8/2024
Hello @jawmes808, defining Environment variables in Refine has no difference from any other react application. you can look here for nextjs https://nextjs.org/docs/pages/building-your-application/configuring/environment-variables
Uunwilling-turquoise3/8/2024
Thank you, @Alican Erdurmaz . I'm looking into making a custom data provider now, then sending requests through a nextjs API route. So far I'm happy to report that I have the lists working by doing this! I can provide a better write up when I'm done.

Looking for more? Join the community!