Welcome to the Kinde community.

P
K
A
A
A
Members
grump
g
grump
Offline, last seen 5 days ago
Joined October 10, 2024
Hi all,

Just started trying to swap over to Kinde, having followed the "SvelteKit SDK" page in the docs and am seeing
Plain Text
Invalid KINDE_REDIRECT_URL: Invalid URL
code: 'ERR_INVALID_URL',
input: 'undefined/oauth2/auth'

I'm pretty sure my configuration/env just flat-out isn't recognised 😦

I've more or less copied things 1 for 1, and double checked all variables configured in my .env, and within the Kinde dashboard.
There's no extra spaces, no missing slashes in the protocol, nada.

Two aside notes...
  1. I use a PUBLIC_ prefix for my variables and I can't see a way to make that compatible with Kinde (Yes, I have experimented with and without this before raising this thread)
  2. Step 1 in the docs say "In Kinde, go to Settings > Applications and then navigate to the relevant frontend app or backend app.", but I couldn't find the secret key for the frontend app, which is needed for the "Configure your app" step. I'm also not entirely sure which is applicable for sveltekit. Either way - I have tried both the front and back-end apps for configuration Kinde and had no luck.
17 comments
S
g
O