From aa41ac1615525a4ba6362a739c7651ca61bb433f Mon Sep 17 00:00:00 2001 From: "taylor.smock" Date: Wed, 30 Oct 2024 14:48:42 +0000 Subject: [PATCH] Fix #23988: Add api.openhistoricalmap.org as a possible endpoint for OHM when getting the default client id (patch by Rub21) git-svn-id: https://josm.openstreetmap.de/svn/trunk@19253 0c6e7542-c601-0410-84e7-c038aed88b3b --- src/org/openstreetmap/josm/data/oauth/OAuthParameters.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/org/openstreetmap/josm/data/oauth/OAuthParameters.java b/src/org/openstreetmap/josm/data/oauth/OAuthParameters.java index 86a476057e..c829efbcac 100644 --- a/src/org/openstreetmap/josm/data/oauth/OAuthParameters.java +++ b/src/org/openstreetmap/josm/data/oauth/OAuthParameters.java @@ -132,6 +132,7 @@ private static OAuth20Parameters getDefaultOAuth20Parameters(String apiUrl) { clientSecret = null; break; case "https://www.openhistoricalmap.org/api": + case "https://api.openhistoricalmap.org/api": // clientId provided by 1ec5 (Minh Nguyễn) clientId = "Hl5yIhFS-Egj6aY7A35ouLOuZl0EHjj8JJQQ46IO96E"; clientSecret = null;