Skip to content

Don't cancel Microsoft auth flow on Bedrock disconnect#6326

Merged
onebeastchris merged 1 commit into
GeyserMC:masterfrom
auvq:fix/keep-auth-flow-on-disconnect
May 8, 2026
Merged

Don't cancel Microsoft auth flow on Bedrock disconnect#6326
onebeastchris merged 1 commit into
GeyserMC:masterfrom
auvq:fix/keep-auth-flow-on-disconnect

Conversation

@auvq

@auvq auvq commented Apr 24, 2026

Copy link
Copy Markdown
Contributor

Fixes #6319.

Cancelling the auth future on disconnect defeats the purpose of PendingMicrosoftAuthentication, it's meant to survive disconnects so mobile users can switch to the browser to finish auth. resetRunningFlow was resetTimer (no-op) before the MinecraftAuth port, call site was never updated to match the new semantic. Task cleanup still happens via the configured timeout.

Haven't tested on mobile since I don't have the setup - reasoning is from reading the git blame.
Overall i'm pretty positive it's fixed though

@onebeastchris onebeastchris left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! Just tested it; works as expected.

@onebeastchris
onebeastchris merged commit 56bcc70 into GeyserMC:master May 8, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Single-device Microsoft authentication doesn't work

2 participants