File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
src/main/java/net/modgarden/backend/handler/v1/discord Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -159,7 +159,7 @@ public static void authMinecraftAccount(Context ctx) {
159159 String microsoftToken = null ;
160160 var microsoftTokenRequest = HttpRequest .newBuilder (URI .create ("https://login.microsoftonline.com/consumers/oauth2/v2.0/token" ))
161161 .header ("Content-Type" , "application/x-www-form-urlencoded" )
162- .headers ("Origin" , ModGardenBackend .URL + "/v1/discord/oauth/modrinth " )
162+ .headers ("Origin" , ModGardenBackend .URL + "/v1/discord/oauth/minecraft " )
163163 .POST (HttpRequest .BodyPublishers .ofString (AuthUtil .createBody (getMicrosoftAuthorizationBody (code , verifier ))));
164164 var microsoftTokenResponse = ModGardenBackend .HTTP_CLIENT .send (microsoftTokenRequest .build (), HttpResponse .BodyHandlers .ofInputStream ());
165165
You can’t perform that action at this time.
0 commit comments