Marcin
Marcin
Explore posts from servers
KKinde
Created by Marcin on 3/25/2025 in #💻┃support
Kinde Auth Callback Issue on my domain
this is what i can see in my logs: ✓ Compiled /api/auth/[kindeAuth] in 467ms GET /api/auth/login?post_login_redirect_url=/chat 307 in 801ms GET /api/auth/kinde_callback?code=dKf1C--wjyMoGEbZRHAH2jJcr0cSMh_nH7qfYhsa4VM.FW1x4ZZx3KsA014VrpdfYEwREzp4r2YafFwpgJnR9nQ&scope=openid%20profile%20email%20offline&state=f8e9b70da079dd7de526c8604b64 500 in 19ms It looks like there is a server error when redirecting to kinde callback
8 replies
KKinde
Created by Marcin on 3/25/2025 in #💻┃support
Kinde Auth Callback Issue on my domain
Thank you Nathalay for the explanations. I am not using wildcards on my setup (just mocked it for posting here publicly). I am using my full production domain for the setup and just added full vercel temp domain as i noticed that it was showing in the logs as one of the domains that the request is coming through. Despite that i am using my production full domain name in the setup. Your questions: - One possible scenario is that you deployed the site, and updated certain environment variables later, which is generating this issue as the "updated" environment variables may be the correct ones. Have you tested that this does not work after you redeploy your Vercel app with the updated code that works in localhost and correct environment variables? I have created dedicated debug page where all the Kinde settings are correctly displayed, and the user is logged in and authenticated in Kinde. The usera are created in Kinde anyway. The issue seems to be that callback url does not have the authenticating cookie and the routing with validated credentials is not happening - Make sure there are no spaces before or after the callback URL in your Kinde application. Checked - Ensure the callback URL in your code exactly matches the callback URL in your Kinde application. It is matching exactly. I am using only one callback URL in my code, but i have setup 3 in my kinde app settings - The Client ID in your code must exactly match the Client ID in your Kinde application. It is matching as the users are created - If you’re testing with a cloud hosting solution, such as Vercel, redeploy your application each time you update the environment variables. Yes I am doing that What else I can provide to get support in the resolving this issue? Failed link: https://my.domain/api/auth/kinde_callback?code=hYpSCZzexoRyR_Nes6S1xtArY09GG0yh7E6NKHCncqs.HR52pW6Y2whC__tgVfcn2bgJgOOOf5yoF73eO4GlgoU&scope=openid%20profile%20email%20offline&state=c103b40931510f7dcc172dc2663d
8 replies
CCConvex Community
Created by Marcin on 9/28/2024 in #support-community
Error: Could not resolve...
It would be nice to have that info in the documentation 🙂
5 replies
CCConvex Community
Created by Marcin on 9/28/2024 in #support-community
Error: Could not resolve...
I solved it by "use node" at the beginning of the file
5 replies
CCConvex Community
Created by Marcin on 9/26/2024 in #support-community
Performance testing and credentials from FS
The end user will call LLMs API deployed on external server, that will be fed financial information stored in convex database. The financial data is hundreads of parameters per one asset, that will be provided from DHW and trading systems. What we want to measure now is what volumes convex can handle, first for POC second for expected production volumes. Do you have any credentials from major financial institutions?
9 replies