Forums Bug Reports Thread

Transient "Sign-in failed" flash message on successful login

Patrick Bass · May 26 · 24 · 1 Locked
[Minor] [High Priority] [Bug Fixed] [Sometimes Reproduces]
🚀 OP May 26, 2026 9:09am

What happens: After logging in via mobieusID, a red "Sign-in failed. Please try again." flash message briefly appears even though the sign-in succeeded and you are logged in.

Expected: No error message on successful login.

Repro: Log in normally. Happens intermittently, more common on fast connections where Zitadel auto-replays.

Root cause: Duplicate OIDC callback fires after the first one consumed the session state. The error flash survived through the /login -> /auth/zitadel/start redirect chain (no page render to consume it) and appeared on the landing page.

Fix: Deployed. If the callback fires without session state but the user is already authenticated, redirect silently instead of flashing an error.

Status: Verified fixed.


Patrick Bass
@mobieus

🚀 May 26, 2026 9:32am

Resolved. Duplicate OIDC callback was setting a flash error that survived the redirect chain because /login auto-redirects to Zitadel without rendering a page. Fix: if the callback fires without session state but the user is already authenticated, redirect silently to / instead of flashing an error. Deployed to all tenants.


Patrick Bass
@mobieus

Log in or register to reply to this thread.