Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Port to MinecraftAuth #4779

Merged
merged 22 commits into from
Jul 24, 2024
Merged

Port to MinecraftAuth #4779

merged 22 commits into from
Jul 24, 2024

Conversation

AlexProgrammerDE
Copy link
Contributor

Updates MCPL, MinecraftAuth is the new auth lib. Refresh tokens are useless now. The entire auth chain needs to be stored instead with MinecraftAuth.
Needs review because the behaviour isn't 1:1 as before.

Code is untested.

@Kas-tle Kas-tle added the PR: Needs Testing When a PR needs testing but is currently not under review label Jun 24, 2024
@AlexProgrammerDE
Copy link
Contributor Author

image
Works

Copy link
Member

@Konicai Konicai left a comment

Choose a reason for hiding this comment

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

also please undo changes to mappings

Copy link
Member

@onebeastchris onebeastchris left a comment

Choose a reason for hiding this comment

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

Tested on my end; seems to work fine (including the transformation from refresh token -> auth chain). LGTM!

AlexProgrammerDE and others added 4 commits July 21, 2024 00:22
…rock/BedrockSetLocalPlayerAsInitializedTranslator.java

Co-authored-by: chris <github@onechris.mozmail.com>
# Conflicts:
#	core/src/main/java/org/geysermc/geyser/GeyserImpl.java
@onebeastchris
Copy link
Member

https://github.com/GeyserMC/Geyser/actions/runs/10071963678/job/27843011435#step:4:236
It seems like the latest commit using the resultNow() function doesn't quite work - is that method available in java 17?

@Camotoy
Copy link
Member

Camotoy commented Jul 24, 2024

Java 19, it would seem according to Javadocs unfortunately.

@Camotoy Camotoy merged commit a85b312 into GeyserMC:master Jul 24, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
PR: Needs Testing When a PR needs testing but is currently not under review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants