DevAuth icon indicating copy to clipboard operation
DevAuth copied to clipboard

java.lang.RuntimeException

Open NotWhiteRice opened this issue 2 years ago • 3 comments

When i try running DevAuth i get: Caused by: java.lang.RuntimeException: Received bad status 400 Bad Request body: {"error":"invalid_request","error_description":"Tokens issued for the 'Single-Page Application' client-type should only be redeemed via cross-origin requests. If your client does not send the Origin header, you should register it as a 'Native' client-type instead.","correlation_id":"c523c866-18f5-4fbb-9aff-e96f6a974c7a"}

I've used both the .jar and the maven dependency, and they both have the same problem

NotWhiteRice avatar Jan 08 '24 13:01 NotWhiteRice

You will need to launch the game twice after installing the 1.2.0 update. If this issue persists, delete the microsoft_accounts.json file in the devauth config folder.

DJtheRedstoner avatar Jan 08 '24 14:01 DJtheRedstoner

This doesn't seem to fix the issue - I believe the OAuth system might have changed slightly somewhere? Other in-dev auth mods aren't working either.

IMB11 avatar Jan 25 '24 16:01 IMB11

Nevermind, I had to delete the entire ~/.config/devauth folder.

IMB11 avatar Jan 25 '24 16:01 IMB11

Resolved.

DJtheRedstoner avatar Jun 15 '24 16:06 DJtheRedstoner