Index: trunk/src/org/openstreetmap/josm/data/oauth/OAuthParameters.java
===================================================================
--- trunk/src/org/openstreetmap/josm/data/oauth/OAuthParameters.java	(revision 19229)
+++ trunk/src/org/openstreetmap/josm/data/oauth/OAuthParameters.java	(revision 19235)
@@ -10,4 +10,5 @@
 import java.util.Map;
 
+import jakarta.json.stream.JsonParsingException;
 import org.openstreetmap.josm.io.NetworkManager;
 import org.openstreetmap.josm.io.OsmApi;
@@ -95,5 +96,5 @@
                 }
             }
-        } catch (URISyntaxException | IOException e) {
+        } catch (JsonParsingException | URISyntaxException | IOException e) {
             throw new JosmRuntimeException(e);
         } finally {
@@ -158,5 +159,6 @@
             }
         } catch (JosmRuntimeException e) {
-            if (e.getCause() instanceof URISyntaxException || e.getCause() instanceof IOException) {
+            if (e.getCause() instanceof URISyntaxException || e.getCause() instanceof IOException
+                    || e.getCause() instanceof JsonParsingException) {
                 Logging.trace(e);
             } else {
Index: trunk/src/org/openstreetmap/josm/gui/oauth/OAuthAuthorizationWizard.java
===================================================================
--- trunk/src/org/openstreetmap/josm/gui/oauth/OAuthAuthorizationWizard.java	(revision 19229)
+++ trunk/src/org/openstreetmap/josm/gui/oauth/OAuthAuthorizationWizard.java	(revision 19235)
@@ -176,5 +176,5 @@
         JMultilineLabel lbl = new JMultilineLabel(AuthorizationProcedure.FULLY_AUTOMATIC.getDescription());
         lbl.setFont(lbl.getFont().deriveFont(Font.PLAIN));
-        pnl.add(lbl, GBC.std());
+        pnl.add(lbl, GBC.eol());
 
         if (!Config.getUrls().getDefaultOsmApiUrl().equals(apiUrl)) {
