Skip to content

Harden OAuth and Minecraft session refresh - #39

Merged
Daniel-Ric merged 3 commits into
masterfrom
bugfix/oauth-session-refresh
Aug 11, 2026
Merged

Harden OAuth and Minecraft session refresh#39
Daniel-Ric merged 3 commits into
masterfrom
bugfix/oauth-session-refresh

Conversation

@Daniel-Ric

Copy link
Copy Markdown
Owner

This updates the refresh path so browser-based Microsoft sessions use the confidential client credentials they were issued with, while device-code sessions remain public-client requests.

It also keeps Minecraft session rotation consistent by returning a replacement xLink JWT together with the new PlayFab session ticket and Minecraft token. Invalid upstream success payloads are rejected instead of being treated as usable credentials, and readiness now catches a missing browser OAuth secret.

Tests: npm test (16 passed)

@Daniel-Ric
Daniel-Ric merged commit d1818cc into master Aug 11, 2026
2 checks passed
@Daniel-Ric
Daniel-Ric deleted the bugfix/oauth-session-refresh branch August 11, 2026 10:09
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.

1 participant