grump
grump
KKinde
Created by grump on 10/10/2024 in #💻┃support
SvelteKit KINDE_REDIRECT_URL
@Oli - Kinde - Yup Cloned repo, pasted in my env vars from my app's quick start page, yarn, yarn dev, click login or signup, get that error
16 replies
KKinde
Created by grump on 10/10/2024 in #💻┃support
SvelteKit KINDE_REDIRECT_URL
@Oli - Kinde happy to DM you any details like client ID or domain name if that helps
16 replies
KKinde
Created by grump on 10/10/2024 in #💻┃support
SvelteKit KINDE_REDIRECT_URL
. The debug page at /api/auth/health is showing all the variables (which is not the case when using my own project)
16 replies
KKinde
Created by grump on 10/10/2024 in #💻┃support
SvelteKit KINDE_REDIRECT_URL
I'll also note that this is using a kinde env I created shortly after opening my account. The default was production, so I made a dev env. edit: I just tried using the prod environment that existed when I created my kinde account and no luck there either
16 replies
KKinde
Created by grump on 10/10/2024 in #💻┃support
SvelteKit KINDE_REDIRECT_URL
And sure enough - same "invalid_request" error as above, but it just includes my kinde url in the error, and not your_kinde_domain...
16 replies
KKinde
Created by grump on 10/10/2024 in #💻┃support
SvelteKit KINDE_REDIRECT_URL
wait - yup, didn't replace the domain in the audience param
16 replies
KKinde
Created by grump on 10/10/2024 in #💻┃support
SvelteKit KINDE_REDIRECT_URL
Hey @Oli - Kinde I haven't delved into the issue much just yet, but off the bat, after inserting my own environment variables to .env and I get...
{
"error": "invalid_request",
"error_description": "The request is missing a required parameter, includes an invalid parameter value, includes a parameter more than once, or is otherwise malformed. Requested audience 'https://your_kinde_domain.kinde.com/api' has not been whitelisted by the OAuth 2.0 Client."
}
{
"error": "invalid_request",
"error_description": "The request is missing a required parameter, includes an invalid parameter value, includes a parameter more than once, or is otherwise malformed. Requested audience 'https://your_kinde_domain.kinde.com/api' has not been whitelisted by the OAuth 2.0 Client."
}
16 replies
KKinde
Created by grump on 10/10/2024 in #💻┃support
SvelteKit KINDE_REDIRECT_URL
Like a reproduction repo? I imagine the issue is somewhere in my configuration and if I were to spin up a reproduction it likely wouldn't happen again. But, I can't see anything out of the ordinary either. I'll give it a shot.
16 replies
KKinde
Created by grump on 10/10/2024 in #💻┃support
SvelteKit KINDE_REDIRECT_URL
Hey @Oli - Kinde - I'm using sveltekit
16 replies
KKinde
Created by grump on 10/10/2024 in #💻┃support
SvelteKit KINDE_REDIRECT_URL
I think I've answered aside-note #2. The front-end app in Kinde doesn't have "SvelteKit" under it's quickstart - only "Svelte". So - I guess backend is the way to go. Having to use a secret is even more reason to have support for aside-note #1: private/public prefix support (or just some way of mapping whatever env keys I want into kinde's sdk)
16 replies
KKinde
Created by stefun on 9/6/2024 in #💻┃support
I have a problem with "Invalid callback URL" issue
Right!? @Internet explorer what was the solution?
15 replies