-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
MLS v2 #143
MLS v2 #143
Conversation
Perfect |
Here are all the error messages again, please adjust them again (or say me, what I should change) if they are not quite correct, my English is not the best (DeepL helped me 😄).
|
What I did to get this PR working:
|
Yes ! I have forgottent the second step 🤦 |
We need some other improvements, like logout, switch account or close msl Window |
Yes. It will be a good think to improve the ML support. I think someone will try to improve the code |
|
|
You can now close the login window, but unfortunately you can only use the default frame, because the oauth flow does not work in an iframe. |
Can you provide a link to the documentation used to set this up |
Just, can you add an overlay on main window with a text saying "Waiting on Microsoft"? Like in Steam (when using PayPal) |
https://wiki.vg/ |
I'll take a look. |
steps noted here https://wiki.vg/Microsoft_Authentication_Scheme are missing and urls are different |
The version of wiki.vg is basically the same, but the oauth/nativeclient endpoint from Microsoft allows login without a server. I also found this only through @norhu1130 in #135 |
Perfect ! @drdeee Thanks for contributing, it helps us a lot, MLS. |
Its supported, official Launcher is the proof |
Oh. But I didn’t knew that multiple Microsoft accounts support was supported. |
going to need more information on this if possible |
@dscalzi, unfortunately, I couldn't find any direct documentation, so I've gathered everything I know here: |
Multiple Account Support should bei easy, I will do that tomorrow. |
I'm surprised that it has improved so much! |
Oh. Perfect ! @norhu1130 Yes xD |
Commit 68879fa should work, but it has not been tested yet (I don't have a Microsoft account). |
Percect ! |
I'am not shure, ist should, but I can't test it and there are no good docs. |
This is definitely great progress so far. Once we can test that adding/removing accounts from the launcher works great, we need to look into developing the feature that can allow us to log out of Microsoft's account from the oauth window. Currently once you've logged into your Microsoft account in your browser, there's no way to switch Microsoft accounts. Adding a 'new account' just brings up the same window to allow the permissions without letting you change MS account. Something to do with cookies maybe? |
Only change |
|
Firstly, many thanks for this pr. I am having some issues with Microsoft Authentication for multiple users. Sometimes it works great, other times it fails. When it fails, this is the error |
Me too, I have this error. I think it will be a good idea to fix it. Also, I think we should close the Waiting for Microsoft widget when we close the login page |
I have gotten a new minecraft account meaning it uses the microsoft login system. If you need me to test HMU in DMs or the Aventium Softworks server, drori#4435 |
TO-DO: Replace the outdated "request" library by node-fetch or axios. I should be able to do that by tomorrow. |
node-fetch > all |
got is better |
Got it better, but there is still bugs. PS: most of the launchers are experiencing trouble with Microsoft Login |
I’m having 0 issues on my custom launcher. I’m using node fetch and axios without oauth/nativeclient. Can share my code if needed. Good luck fellow coders 😌 |
I would love to. |
Since I keep getting quoted I'll clarify:
|
@drdeee please rebase this PR. It's clear that I wont be able to work on/complete my own implementation for this. I'll review it and if it's good enough it will go into master. |
Hello, |
Thanks everyone, official support will be coming through this PR #216 Relevant links:
|
This is an improved version of #135 , since the repo of #135 was accidentally deleted. Also, in this pull request I improved the error handling when logging in with Microsoft, now it doesn't always come only "Report Plz!".Also various styles (frame size, background, ...) of the login button I have adjusted, although you could still improve things there (I can not CSS) and the link to the Minecraft store.
I hope that helps something,
DrDeee