2009average
2009average
KKinde
Created by 2009average on 10/23/2024 in #💻┃support
Can't install kinde SDK for sveltekit because of the new svelte5 installation dependency.
Hello, Svelte5 was released yesterday. Today I attempted to install the new version which installed with no issues. Used the command npm i @kinde-oss/kinde-auth-sveltekit as I did multiple times in the past but I was greated with dependency errors : npm error code ERESOLVE npm error ERESOLVE unable to resolve dependency tree npm error npm error While resolving: [email protected] npm error Found: [email protected] npm error node_modules/svelte npm error dev svelte@"^5.0.0" from the root project npm error peer svelte@"^4.0.0 ^5.0.0-next.0" from @sveltejs/[email protected] npm error node_modules/@sveltejs/kit npm error dev @sveltejs/kit@"^2.0.0" from the root project npm error peer @sveltejs/kit@"^1.20.4 ^2.0.0" from @kinde-oss/[email protected] npm error node_modules/@kinde-oss/kinde-auth-sveltekit npm error @kinde-oss/kinde-auth-sveltekit@"" from the root project npm error 1 more (@sveltejs/vite-plugin-svelte) npm error npm error Could not resolve dependency: npm error peer svelte@"^4.0.0" from @kinde-oss/[email protected] npm error node_modules/@kinde-oss/kinde-auth-sveltekit npm error @kinde-oss/kinde-auth-sveltekit@"" from the root project npm error npm error Fix the upstream dependency conflict, or retry npm error this command with --force or --legacy-peer-deps npm error to accept an incorrect (and potentially broken) dependency resolution. npm error Please advise!
5 replies
KKinde
Created by 2009average on 10/2/2024 in #💻┃support
Invalid KINDE_REDIRECT_URL: Invalid URL
I keep getting this message and it's self-explanatory but I have the correct url entered in my env file like this : http://localhost:5173/api/auth/callback I created the folder/file inside the api/[...KindeAuth]/callback/+page.svelte
I also entered that in the app dashboard admin section in kinde.com Yet, I keep getting the invalide kinde_redirect_url : invalid url?? Here is my whole env file : KINDE_AUDIENCE=your_kinde_api KINDE_CLIENT_ID=fab961ce34da KINDE_CLIENT_SECRET=CWzom KINDE_ISSUER_URL=https://sveltek.kinde.com KINDE_POST_LOGIN_REDIRECT_URL=http://localhost:5173/api/auth/callback KINDE_POST_LOGOUT_REDIRECT_URL=http://localhost:5173 KINDE_REDIRECT_URL=http://localhost:5173/api/auth/callback KINDE_SCOPE=profile email offline openid KINDE_USER_EMAIL_TEST= // An user has existed in your organization KINDE_USER_PASSWORD_TEST= KINDE_AUTH_WITH_PKCE= KINDE_DEBUG=false
3 replies
KKinde
Created by 2009average on 10/2/2024 in #💻┃support
Sveltekit App Creation type?
First time user. Attempting to create my first app in Kinde dashboard. What type of app for a sveltekit to interact with Kinde api? Is it back-end web, M2M or Front-end and mobile app? Which one should I use?
5 replies