jessebs
KKinde
•Created by jessebs on 2/21/2024 in #💻┃support
next.config.js Kinde Env Vars
I'm trying to set some of my KINDE environment variables in my next.config.js file in order to support preview deployments. Here's a minimal example:
I do not have any of the 3 env variables set elsewhere
When I visit my application, I get the following error:
This works if I set the variables through a .env file but my understanding from https://kinde.com/docs/developer-tools/nextjs-sdk/#working-with-preview-urls is that it should work without previously having set the values.
14 replies