06:00 UTC Charta Aetatis Cyberpunk

Console Newsletter Pro Sign in Register
Aa · Display
Themes
Type size
Density
Hacker Culture · HackerNoon · 1d · 6 min read

Debugging OAuth Redirect Loops Caused by Oversized HTTP Cookies

Last week, we spent almost four hours tracking down a login bug that made zero sense on paper.Our dashboard users signing in with Google or Discord were getting thrown into an infinite redirect loop. They would hit sign in, pick their Google account, authorize it, watch the screen flash for a second, and then land right back on the empty login form.No error message. No red toast. No failed requests in Chrome's network tab. Nothing in the console either.Meanwhile, plain old email-and-password logins worked perfectly. Same database, same API server, same users. If an account logged in with a password, it went straight to the dashboard. If that exact same account clicked "Sign in with Google"

…

Discussion

Sign in to join the discussion.

Make the first comment.

That's Cyber for today

Tomorrow's desk, in your inbox by 06:00 UTC. The week's best stories, every Sunday. The month that mattered, on the 1st.

The freshest blend of security news delivered to you. Text and HTML, one-click unsubscribe. Free.

How often
Your desks