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

Unable to login with Microsoft's secondary alias email #206

Open
xhayper opened this issue Mar 18, 2024 · 3 comments
Open

Unable to login with Microsoft's secondary alias email #206

xhayper opened this issue Mar 18, 2024 · 3 comments
Labels
help wanted Extra attention is needed

Comments

@xhayper
Copy link

xhayper commented Mar 18, 2024

When trying to log in using Microsoft's alias email feature, the following error show up.

[  ..  ] Processing authentication against Minecraft services...
[FAILED] Incoherent authentication data, please retry.

I tried logging in with the Minecraft launcher and was able to login

@xhayper xhayper changed the title Unable to login with Microsoft's alias email Unable to login with Microsoft's secondary alias email Mar 18, 2024
@xhayper
Copy link
Author

xhayper commented Mar 18, 2024

Caused by

return id_token_payload["nonce"] == nonce and id_token_payload["email"].casefold() == email.casefold()

id_token_payload["email"].casefold() == email.casefold()

The payload return the primary alias instead of the email we used to login

@xhayper
Copy link
Author

xhayper commented Mar 18, 2024

image
Did some more digging and it turns out the email scope return the primary email

@mindstorm38
Copy link
Owner

I made this so users could not login with another account than the one they specified in the command line. Didn't know that alias existed..

@mindstorm38 mindstorm38 added the help wanted Extra attention is needed label Apr 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants