DevAuth
DevAuth copied to clipboard
Safely authenticate Microsoft and Mojang accounts in development environments.
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...
Because legacy forge is stupid and lets you load coremods more than once (for example, from maven and from a jar).
I have no idea why something else in the file changed as well, hopefully it's not a problem.
I recently started using DevAuth for the first time and it just wouldn't create a config.toml file, nor the directory. But it wasn't throwing any errors. The only consequence was,...
Currently port 3000 is used, this changes it to 0 which will use a free port instead.
This PR adds a new account parameter named `forcedusername`. When it is set you get OAuth requests until the OAuth is completed with the set Username. Otherwise, you are prompted...
Since `XDG_CONFIG_HOME` is used on Linux, let's show macOS some love too? :thinking: This does introduce a breaking change for macOS users, though. They will need to migrate their configuration...
``` [06:16:03] [main/ERROR] (DevAuth/Microsoft) Failed to parse microsoft_accounts.json java.io.FileNotFoundException: /Users/eveeifyeve/.devauth/microsoft_accounts.json (No such file or directory) at java.base/java.io.FileInputStream.open0(Native Method) ~[?:?] at java.base/java.io.FileInputStream.open(FileInputStream.java:213) ~[?:?] at java.base/java.io.FileInputStream.(FileInputStream.java:152) ~[?:?] at org.apache.commons.io.FileUtils.openInputStream(FileUtils.java:2388) ~[commons-io-2.11.0.jar:?] at org.apache.commons.io.FileUtils.readFileToString(FileUtils.java:2506)...
25w44a removes the apache httpclient library. DevAuth should use the standard library HttpClient in such cases.