FTB-App icon indicating copy to clipboard operation
FTB-App copied to clipboard

Logging into minecraft

Open kingcorona09 opened this issue 1 year ago • 4 comments

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 avatar Sep 11 '24 00:09 kingcorona09

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 :(

WyFryMU avatar Sep 22 '24 03:09 WyFryMU

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?

kingcorona09 avatar Sep 22 '24 17:09 kingcorona09

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.

WyFryMU avatar Sep 25 '24 14:09 WyFryMU

Thank you so much!! It worked!

kingcorona09 avatar Sep 30 '24 02:09 kingcorona09

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

manmaed avatar Nov 09 '24 17:11 manmaed

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

BrunnerLivio avatar Nov 12 '24 21:11 BrunnerLivio

🤦 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...

MichaelHillcox avatar Nov 13 '24 00:11 MichaelHillcox

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

Same issue, Password Auth worked.

mamedvedkov avatar Nov 15 '24 10:11 mamedvedkov