generated from kinde-oss/kinde-oss-repo-template
-
Notifications
You must be signed in to change notification settings - Fork 11
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Prerequisites
- I have searched the repository’s issues and Kinde community to ensure my issue isn’t a duplicate
- I have checked the latest version of the library to replicate my issue
- I have read the contributing guidelines
- I agree to the terms within the code of conduct
Describe the issue
As part of issue #36 a new environment variable was added to the lib/hooks/sessionHooks.ts file. That change attempts to use process.env, which isn't available in all environments that SvelteKit may be running in.
This should be changed to the SvelteKit mechanism used elsewhere in the SDK:
import { env } from "$env/dynamic/private";
// ...
{ domain: env.KINDE_COOKIE_DOMAIN, /* ... */ }I can make a PR if that is preferred.
Library URL
https://github.com/kinde-oss/kinde-sveltekit-sdk
Library version
2.1.0
Operating system(s)
macOS
Operating system version(s)
Sequoia 15.1
Further environment details
Cloudflare Pages
Reproducible test case URL
No response
Additional information
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working