sassydinosaur
sassydinosaur
KKinde
Created by sassydinosaur on 3/10/2025 in #💻┃support
Getting 500 errors suddenly whenever redirecting to /api/auth/login on nextjs 14+
1.
"@kinde-oss/kinde-auth-nextjs": "^2.5.3"
"@kinde-oss/kinde-auth-nextjs": "^2.5.3"
2. deploying to AWS via SST. Everything works fine on localhost. This is the error on a bare bones implementation
TypeError: Cannot read properties of undefined (reading 'kindeAuth')
TypeError: Cannot read properties of undefined (reading 'kindeAuth')
5 replies
KKinde
Created by sassydinosaur on 3/10/2025 in #💻┃support
Getting 500 errors suddenly whenever redirecting to /api/auth/login on nextjs 14+
The error I see in logs is
ERROR ⨯ Error: No response is returned from route handler. Ensure you return a `Response` or a `NextResponse` in all branches of your handler.
ERROR ⨯ Error: No response is returned from route handler. Ensure you return a `Response` or a `NextResponse` in all branches of your handler.
5 replies
KKinde
Created by Ollie Mansell on 2/10/2025 in #💻┃support
TypeError: Cannot read properties of undefined (reading 'kindeAuth')
I am getting the exact same error all of a sudden. Also deploying to AWS using SST. Did you figure it out @Ollie Mansell ?
3 replies