-
I'm trying out refine and I extracted my secrets into an |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
Airtable data provider works on the client-side. That's why you should publish your env variables as Public. https://nextjs.org/docs/basic-features/environment-variables |
Beta Was this translation helpful? Give feedback.
-
Since it’s by design I solved it by adding a serverless function that refine can talk to. This function can perform auth and then call the original Airtable data provider from refine using tokens that are defined in private env variables. |
Beta Was this translation helpful? Give feedback.
Since it’s by design I solved it by adding a serverless function that refine can talk to. This function can perform auth and then call the original Airtable data provider from refine using tokens that are defined in private env variables.