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

Logging into minecraft #1199

Open
kingcorona09 opened this issue Sep 11, 2024 · 8 comments
Open

Logging into minecraft #1199

kingcorona09 opened this issue Sep 11, 2024 · 8 comments
Labels
bug Something isn't working

Comments

@kingcorona09
Copy link

What Operating System

Windows 10

Debug Code

https://pste.ch/yopiziyave

Describe the bug

Every time i try to launch a modpack through the FTB app, it requires me to log in through my microsoft account. But after signing in it says it can't verify getting my profile and checking game ownership. It says to start vanilla launcher and run minecraft and after still doing that it says the same thing. Any help is appreciated

Steps to reproduce

N/A

Expected behaviour

To run FTB

Screenshots

No response

Additional information

No response

@kingcorona09 kingcorona09 added the bug Something isn't working label Sep 11, 2024
@WyFryMU
Copy link

WyFryMU commented Sep 22, 2024

Known issue, they're working on it :) Current workaround is you have to relog each time. So if you're saying you still have the issue even after relogging, then that is odd :(

@kingcorona09
Copy link
Author

Known issue, they're working on it :) Current workaround is you have to relog each time. So if you're saying you still have the issue even after relogging, then that is odd :(

Like relog into minecraft launcher?

@WyFryMU
Copy link

WyFryMU commented Sep 25, 2024

Like relog into minecraft launcher?

Oh, if you're getting the need to login to vanilla issue. You have to log into vanilla of Java edition. Create a world. Load into it. Then exit the world, close the vanilla MC. Then try logging into the FTB app again.

@kingcorona09
Copy link
Author

Thank you so much!! It worked!

@manmaed
Copy link
Member

manmaed commented Nov 9, 2024

This should now be fixed in v1.26.0 of the app (updating will log you out)

@BrunnerLivio
Copy link

BrunnerLivio commented Nov 12, 2024

I am now facing a slightly different issue with 1.26.2 of the app:

  • Click on Login
  • Click on "Copy and Open"
  • Paste code on Microsoft Website
  • Microsoft auth opens a page "Sign in on Github" (I've linked my Microsoft Account with Github)
  • Press "Next"
  • ✅ Logged in Successfully to Microsoft Account
  • ❌ FTB App does nothing and still shows Code "Copy and Open"-Modal.

May be related to my Github + Microsoft link? Either way I am currently unable to login and haven't found a workaround yet.

EDIT:

It's odd, I checked the source code and tried to debug the requests sent by using curl and it seems like even though I enter the code and successfully login into my Microsoft account, it says it's pending (result vom curl command):

curl -X POST "https://login.microsoftonline.com/consumers/oauth2/v2.0/token" \
     -H "Content-Type: application/x-www-form-urlencoded" \
     -d "client_id=f23e8ba8-f46b-41ed-b5c0-7994f2ebbbf8" \
     -d "grant_type=urn:ietf:params:oauth:grant-type:device_code" ...
{
  "error": "authorization_pending",
  "error_description": "... The provided request has not yet been authorized by the user. The user must input their code. Trace ID: ...",
  "error_codes": [
    70016
  ],
  "timestamp": "2024-11-12 21:39:23Z",
....
}

Do not know where that is coming from, didn't have any problems in previous versions of the FTB App and with the same Microsoft account...

EDIT EDIT:

🤦 You have to press other ways to sign in and then just use Password Auth.
Likely this is a Microsoft issue

Screenshot 2024-11-12 at 22 45 25

@MichaelHillcox
Copy link
Member

🤦 You have to press other ways to sign in and then just use Password Auth. Likely this is a Microsoft issue

This is very interesting! Thanks for looking into this. I'll have to see if I can replicate this with one of my accounts but this does look to be some fall through issue on Microsofts side...

@mamedvedkov
Copy link

  • FTB App does nothing and still shows Code "Copy and Open"-Modal.

Same issue, Password Auth worked.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

6 participants