Ollie Mansell
KKinde
•Created by Ollie Mansell on 2/10/2025 in #💻┃support
TypeError: Cannot read properties of undefined (reading 'kindeAuth')
Hi - I've started getting this error on my production application. This is a new error when deployed to AWS using SST .
I am using "@kinde-oss/kinde-auth-nextjs": "^2.4.6",
When users click my login button I get a default Chrome error message
Request URL: https://myURL.com/api/auth/login?
500 Internal Server Error
I have not changed my application code:
import { handleAuth } from "@kinde-oss/kinde-auth-nextjs/server";
export const GET = handleAuth();
Any ideas how to try and debug this?
2 replies
KKinde
•Created by Ollie Mansell on 10/19/2024 in #💻┃support
Using the kinde management API...
It seems the object you get when you fetch users uses "first_name" and "last_name", but the API to update as user expects "given_name" and "family_name"? Is this a deliberate design choice? Am I missing something? Just lost a couple hours trying to debug this...
9 replies
KKinde
•Created by Ollie Mansell on 4/5/2024 in #💻┃support
adding a loading state to the SignIn component in NextJS
On clicking the sign in button it seems to take quite a few seconds for the kinde login page to load… anyone got any patterns for adding a loading state to the button?
15 replies