JMAC
JMAC
KKinde
Created by JMAC on 3/13/2025 in #💻┃support
Kinde Auth Middleware Issue Report
Any luck?
6 replies
KKinde
Created by JMAC on 3/13/2025 in #💻┃support
Kinde Auth Middleware Issue Report
npm run dev
[email protected] dev next dev
▲ Next.js 15.2.2 - Local: http://localhost:3000 - Network: http://10.10.16.210:3000 - Environments: .env.local - Experiments (use with caution): · clientTraceMetadata ✓ Starting... ○ Compiling /instrumentation ... ✓ Compiled /instrumentation in 754ms (896 modules) ✓ Ready in 2.3s ✓ Compiled /middleware in 398ms (724 modules) ○ Compiling /api/auth/[kindeAuth] ... ✓ Compiled /api/auth/[kindeAuth] in 1281ms (2252 modules) ⨯ [Error: No response is returned from route handler '/Users/quabmac/Documents/GitHub/repair-shop-app/app/api/auth/[kindeAuth]/route.tsx'. Ensure you return a Response or a NextResponse in all branches of your handler.] ⨯ [Error: No response is returned from route handler '/Users/quabmac/Documents/GitHub/repair-shop-app/app/api/auth/[kindeAuth]/route.tsx'. Ensure you return a Response or a NextResponse in all branches of your handler.] GET /api/auth/login?post_login_redirect_url=/home 500 in 2128ms GET /api/auth/login?post_login_redirect_url=/home 307 in 10ms ⨯ [TypeError: Invalid URL] { code: 'ERR_INVALID_URL', input: 'http://localhost:3000', base: '/home' } ⨯ [TypeError: Invalid URL] { code: 'ERR_INVALID_URL', input: 'http://localhost:3000', base: '/home' } GET /api/auth/kinde_callback?code=rXowwwnLTojL4tsN-wG4x9Aoh6ZFjLUCTm13Wy43C20._2kHGTWNREN0sv2LSzkMVpfEauiGFZPU0I6NnJD0mf4&scope=openid%20profile%20email%20offline&state=27dbbab936b496cb5c4f413131c1 500 in 316ms GET /api/auth/login?post_login_redirect_url=/nextjs_original-stack-frame 307 in 7ms GET /api/auth/login?post_login_redirect_url=/nextjs_original-stack-frame 307 in 13ms GET /api/auth/login?post_login_redirect_url=/nextjs_original-stack-frame 307 in 14ms GET /api/auth/login?post_login_redirect_url=/nextjs_original-stack-frame 307 in 13ms
6 replies