sveltekit-oidc
sveltekit-oidc copied to clipboard
envrionment variable undefined
I'm running into an issue trying to use this package;
_keyclock/utils.js can't seem to load the envrionment variables:
Uncaught (in promise) TypeError: can't access property "VITE_OIDC_ISSUER", import_meta.env is undefined
in firefox
and Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'VITE_OIDC_ISSUER')
in chrome
at utils.js line 2.
Environment variables work just fine elsewhere, I used VITE_OIDC_ISSUER in keycloak.svelte no problem.
I got the same issue and #3 is the same ✌️
@Snukii and @SarcevicAntonio Sorry you have to run into such an issue. Which version of sveltekit-oidc are you using? Also, I am using node version 14.17.1.