From 921cdaad34de0cf2fa404f251205dc9dabdb38c9 Mon Sep 17 00:00:00 2001 From: "S. Kozyr" Date: Thu, 28 Mar 2024 18:52:08 +0200 Subject: [PATCH] [oauth2] I accidentally removed OAuth2 application from master.apis.dev.openstreetmap.org Have to create new one and update Debug credentials Signed-off-by: S. Kozyr --- editor/osm_auth.cpp | 4 ++-- tools/python/oauth2-flow/oauth2_flow.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/editor/osm_auth.cpp b/editor/osm_auth.cpp index 7a09a20cd9..869dc25a77 100644 --- a/editor/osm_auth.cpp +++ b/editor/osm_auth.cpp @@ -106,8 +106,8 @@ OsmOAuth OsmOAuth::ServerAuth(string const & oauthToken) OsmOAuth OsmOAuth::DevServerAuth() { constexpr char const * kOsmDevServer = "https://master.apis.dev.openstreetmap.org"; - constexpr char const * kOsmDevClientId = "QSh_IksPC78W7EgRxSRDw_F8oulQghpL2QcTLHrP4z8"; - constexpr char const * kOsmDevClientSecret = "NMU8BNkUGg_R0KhGtrrSJRREBbMBM2133Gi-cZWmVmc"; + constexpr char const * kOsmDevClientId = "uB0deHjh_W86CRUHfvWlisCC1ZIHkdLoKxz1qkuIrrM"; + constexpr char const * kOsmDevClientSecret = "xQE7suO-jmzmels19k-m8FQ8gHnkdWuLLVqfW6FIj44"; constexpr char const * kOsmDevScope = "read_prefs write_api write_notes"; constexpr char const * kOsmDevRedirectUri = "om://oauth2/osm/callback"; diff --git a/tools/python/oauth2-flow/oauth2_flow.py b/tools/python/oauth2-flow/oauth2_flow.py index 45ed1a3b86..72e4f321ef 100644 --- a/tools/python/oauth2-flow/oauth2_flow.py +++ b/tools/python/oauth2-flow/oauth2_flow.py @@ -19,8 +19,8 @@ OAuthScope = "read_prefs" # Dev enviroment osmHost = "master.apis.dev.openstreetmap.org" -OAuthClientId = "QSh_IksPC78W7EgRxSRDw_F8oulQghpL2QcTLHrP4z8" -OAuthClientSecret = "NMU8BNkUGg_R0KhGtrrSJRREBbMBM2133Gi-cZWmVmc" +OAuthClientId = "uB0deHjh_W86CRUHfvWlisCC1ZIHkdLoKxz1qkuIrrM" +OAuthClientSecret = "xQE7suO-jmzmels19k-m8FQ8gHnkdWuLLVqfW6FIj44" OAuthRedirectUri = "om://oauth2/osm/callback" OAuthResponseType = "code" OAuthScope = "read_prefs write_api write_notes"