Repository navigation
|
I'm trying out refine and I extracted my secrets into an |
Answered by
IgnusG
Dec 10, 2021
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 |
1 reply
|
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. |
2 replies
Answer selected by
IgnusG
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.