Evan
Evan
KKinde
Created by M on 1/4/2025 in #💻┃support
Constantly getting ERR_TOO_MANY_REDIRECTS in production
Thank you for everything @CB_Kinde @Yoshify
120 replies
KKinde
Created by M on 1/4/2025 in #💻┃support
Constantly getting ERR_TOO_MANY_REDIRECTS in production
Brilliant work! Everything works as expected no looping.
120 replies
KKinde
Created by M on 1/4/2025 in #💻┃support
Constantly getting ERR_TOO_MANY_REDIRECTS in production
Thanks, I’ll reach back out tomorrow and let you know the results
120 replies
KKinde
Created by M on 1/4/2025 in #💻┃support
Constantly getting ERR_TOO_MANY_REDIRECTS in production
Really incredible support ! ❤️
120 replies
KKinde
Created by M on 1/4/2025 in #💻┃support
Constantly getting ERR_TOO_MANY_REDIRECTS in production
Thank you @Bailey - Insider
120 replies
KKinde
Created by M on 1/4/2025 in #💻┃support
Constantly getting ERR_TOO_MANY_REDIRECTS in production
Yes! I'll follow that up tomorrow.
120 replies
KKinde
Created by M on 1/4/2025 in #💻┃support
Constantly getting ERR_TOO_MANY_REDIRECTS in production
120 replies
KKinde
Created by M on 1/4/2025 in #💻┃support
Constantly getting ERR_TOO_MANY_REDIRECTS in production
I’m just going to actually learn how auth and cookies work so I can troubleshoot more intelligently.
120 replies
KKinde
Created by M on 1/4/2025 in #💻┃support
Constantly getting ERR_TOO_MANY_REDIRECTS in production
Ultimately there’s a state mismatch in production. Everything continues working fine and predictably in dev env. no matter how grossly I hack things up trying to troubleshoot this.
120 replies
KKinde
Created by M on 1/4/2025 in #💻┃support
Constantly getting ERR_TOO_MANY_REDIRECTS in production
Yes I did. Thanks for following up @Bailey - Insider @CB_Kinde
120 replies
KKinde
Created by M on 1/4/2025 in #💻┃support
Constantly getting ERR_TOO_MANY_REDIRECTS in production
No description
120 replies
KKinde
Created by M on 1/4/2025 in #💻┃support
Constantly getting ERR_TOO_MANY_REDIRECTS in production
Commented out my middleware.ts file and redeployed, but still getting the same issue.
120 replies
KKinde
Created by M on 1/4/2025 in #💻┃support
Constantly getting ERR_TOO_MANY_REDIRECTS in production
I am using middleware... My middleware.ts file: import { withAuth } from "@kinde-oss/kinde-auth-nextjs/middleware"; export default withAuth({ loginPage: "/api/auth/login", isReturnToCurrentPage: true, }); export const config = { matcher: ["/dashboard/:path*"], };
120 replies
KKinde
Created by M on 1/4/2025 in #💻┃support
Constantly getting ERR_TOO_MANY_REDIRECTS in production
Here's something maybe... When I change KINDE_POST_LOGIN_REDIRECT_URL to https://bizlists.vercel.app/noauthroute we jump out of the loop. Basically everything works for the production login flow up until the point where I'm invoking getKindeServerSession() a subsequent time when I redirect to a url that's going to need user information, which triggers another hit to Kinde which redirects to a url that needs user information which triggers a hit to Kinde which... Feels like there's an obvious fix here lol, but I'm just a front end idiot.
120 replies
KKinde
Created by M on 1/4/2025 in #💻┃support
Constantly getting ERR_TOO_MANY_REDIRECTS in production
Still getting state mismatches i think, even with dynamic redirects
120 replies
KKinde
Created by M on 1/4/2025 in #💻┃support
Constantly getting ERR_TOO_MANY_REDIRECTS in production
And I have tried these boilerplate fixes as best I can
120 replies
KKinde
Created by M on 1/4/2025 in #💻┃support
Constantly getting ERR_TOO_MANY_REDIRECTS in production
No description
120 replies
KKinde
Created by M on 1/4/2025 in #💻┃support
Constantly getting ERR_TOO_MANY_REDIRECTS in production
No description
120 replies
KKinde
Created by M on 1/4/2025 in #💻┃support
Constantly getting ERR_TOO_MANY_REDIRECTS in production
120 replies
KKinde
Created by M on 1/4/2025 in #💻┃support
Constantly getting ERR_TOO_MANY_REDIRECTS in production
Hi all, I Am getting pretty much identical issues from following a similar tutorial from the same person. https://www.youtube.com/watch?v=_ypZyGeJox8
120 replies