You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Auth: a late link response can restore a signed-out or replaced session #76
linkWithCredential compares the linked response only against the user captured before the HTTP request. If signOut() runs, or another account signs in while the link is pending, the response for the original user still passes the mismatch check and enqueueAuthPost installs that user again, undoing the sign-out or replacing the other account.
Suggested fix: check that the initiating session is still the active one before committing the linked user, with the check and the assignment serialised against session changes. This shares a root cause with the lookup-response issue filed alongside it.
changed the title [-]Auth: a late link response can restore a signed-out or replaced session</title>
<parameter name="labels">["bug"][/-][+]Auth: a late link response can restore a signed-out or replaced session[/+]on Oct 26, 2026
Activity
[-]Auth: a late link response can restore a signed-out or replaced session</title> <parameter name="labels">["bug"][/-][+]Auth: a late link response can restore a signed-out or replaced session[/+]